summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-12 09:06:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-12 09:06:19 +0000
commit622b6121f48f0c3579502d2a9fb4975618177cec (patch)
tree46faed06c28664ef8e9d305b0dc704f89d79c788 /test/unit
parent9ff53f97eecbe1f63b226dd3ea2666343316ce6a (diff)
downloadredmine-622b6121f48f0c3579502d2a9fb4975618177cec.tar.gz
redmine-622b6121f48f0c3579502d2a9fb4975618177cec.zip
Fixes nil error when svn binary version is unknown (#1607).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1652 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/mercurial_adapter_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/mercurial_adapter_test.rb b/test/unit/mercurial_adapter_test.rb
index 4fecebe24..a2673ad42 100644
--- a/test/unit/mercurial_adapter_test.rb
+++ b/test/unit/mercurial_adapter_test.rb
@@ -25,7 +25,7 @@ begin
def test_template_path
to_test = { [0,9,5] => "0.9.5",
[1,0] => "1.0",
- "Unknown version" => "1.0",
+ [] => "1.0",
[1,0,1] => "1.0"}
to_test.each do |v, template|