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

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

index 0866b373a8e333144aaec2466063b3859fa4da5d..427c3b5e22760afa563ac0521c15dcf9f79382c6 100644 (file)
@@ -109,6 +109,11 @@ begin
         assert_nil @adapter.revisions('invalid')
       end
 
+      def test_revisions_revision_invalid
+        assert_nil @adapter.revisions(nil, 12345678)
+        assert_nil @adapter.revisions(nil, 12345678, 87654321)
+      end
+
       private
 
       def test_scm_version_for(scm_command_version, version)