From: Toshi MARUYAMA Date: Thu, 26 May 2011 07:14:20 +0000 (+0000) Subject: scm: bazaar: add unit adapter test of revisions invalid revision. X-Git-Tag: 1.3.0~1921 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b4edeb80cddcdd0cb966c865b96cc987b75f41d6;p=redmine.git scm: bazaar: add unit adapter test of revisions invalid revision. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5928 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 0866b373a..427c3b5e2 100644 --- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb @@ -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)