From 5fd891aa72243e7fff19a05d080c921ae420eeeb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 11 Apr 2011 16:54:35 +0000 Subject: [PATCH] Fixes an error raised by cvs test with Postgresql (revision is varchar). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5415 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_cvs_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb index 393945ace..c7041bede 100644 --- a/test/unit/repository_cvs_test.rb +++ b/test/unit/repository_cvs_test.rb @@ -117,7 +117,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase lines = buf.split("\n") assert_equal 2, lines.length assert_equal 'with one change', lines[1] - buf = @repository.cat('README', 1) + buf = @repository.cat('README', '1') assert buf lines = buf.split("\n") assert_equal 1, lines.length -- 2.39.5