]> source.dussan.org Git - redmine.git/commitdiff
scm: bazaar: add unit adapter test of annotate invalid revision.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 May 2011 01:12:51 +0000 (01:12 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 May 2011 01:12:51 +0000 (01:12 +0000)
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

index 7733ec231cd836434eb2c4d8fd53bb6fcf4d1b4c..89f31392ae1a1b90503eaaf74779e5a36ef0eb1e 100644 (file)
@@ -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)