From a09144ea5df244f60032be3d67ef00870815646b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 26 May 2011 01:12:51 +0000 Subject: [PATCH] scm: bazaar: add unit adapter test of annotate invalid revision. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5914 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb index 7733ec231..89f31392a 100644 --- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb @@ -38,6 +38,10 @@ begin assert_nil @adapter.annotate('invalid') end + def test_annotate_revision_invalid + assert_nil @adapter.annotate('doc-mkdir.txt', '12345678') + end + def test_branch_conf_path p = "c:\\test\\test\\" bcp = Redmine::Scm::Adapters::BazaarAdapter.branch_conf_path(p) -- 2.39.5