summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/repository_cvs_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb
index 8dfde6e73..801174340 100644
--- a/test/unit/repository_cvs_test.rb
+++ b/test/unit/repository_cvs_test.rb
@@ -127,6 +127,9 @@ class RepositoryCvsTest < ActiveSupport::TestCase
# sources/welcome_controller.rb is removed at revision 5.
assert @repository.cat('sources/welcome_controller.rb', '4')
assert @repository.cat('sources/welcome_controller.rb', '5').blank?
+
+ # invalid revision
+ assert @repository.cat('README', '123').blank?
end
else
puts "CVS test repository NOT FOUND. Skipping unit tests !!!"