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

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

index 495fce20adddff6f6de49699103019014993618e..c139fab6201f45bbfeebd81e8df64e390952dbee 100644 (file)
@@ -101,6 +101,10 @@ begin
         assert_equal [], @adapter.entries('invalid')
       end
 
+      def test_entries_revision_invalid
+        assert_nil @adapter.entries(nil, 12345678)
+      end
+
       private
 
       def test_scm_version_for(scm_command_version, version)