From: Toshi MARUYAMA Date: Thu, 26 May 2011 01:12:07 +0000 (+0000) Subject: scm: bazaar: add unit adapter test of annotate invalid path. X-Git-Tag: 1.3.0~1936 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a3dcc4ec2b4bd3ad589fb42ca5d7556bf96321d8;p=redmine.git scm: bazaar: add unit adapter test of annotate invalid path. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5913 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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 634ad1943..7733ec231 100644 --- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb @@ -34,6 +34,10 @@ begin assert_equal 'mkdir', annotate.lines[0] end + def test_annotate_path_invalid + assert_nil @adapter.annotate('invalid') + end + def test_branch_conf_path p = "c:\\test\\test\\" bcp = Redmine::Scm::Adapters::BazaarAdapter.branch_conf_path(p)