]> source.dussan.org Git - redmine.git/commitdiff
scm: bazaar: add unit adapter test of diff invalid path.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 May 2011 06:16:00 +0000 (06:16 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 May 2011 06:16:00 +0000 (06:16 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5921 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb

index 686ca09e032772b0b9f00c584437293414d19038..233701178ae5f36cc983fe4414bd4492cf2dfc71 100644 (file)
@@ -34,6 +34,10 @@ begin
         assert_nil @adapter.cat('doc-mkdir.txt', '12345678')
       end
 
+      def test_diff_path_invalid
+        assert_equal [], @adapter.diff('invalid', 1)
+      end
+
       def test_annotate
         annotate = @adapter.annotate('doc-mkdir.txt')
         assert_equal 17, annotate.lines.size