From: Toshi MARUYAMA Date: Thu, 26 May 2011 07:12:40 +0000 (+0000) Subject: scm: bazaar: add unit adapter test of entries invalid revision. X-Git-Tag: 1.3.0~1924 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=80e997ca222b5fb81ba4c8814437034284346b09;p=redmine.git scm: bazaar: add unit adapter test of entries invalid revision. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5925 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 495fce20a..c139fab62 100644 --- a/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb @@ -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)