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
This commit is contained in:
parent
5b9655ab8e
commit
5fd891aa72
@ -117,7 +117,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase
|
|||||||
lines = buf.split("\n")
|
lines = buf.split("\n")
|
||||||
assert_equal 2, lines.length
|
assert_equal 2, lines.length
|
||||||
assert_equal 'with one change', lines[1]
|
assert_equal 'with one change', lines[1]
|
||||||
buf = @repository.cat('README', 1)
|
buf = @repository.cat('README', '1')
|
||||||
assert buf
|
assert buf
|
||||||
lines = buf.split("\n")
|
lines = buf.split("\n")
|
||||||
assert_equal 1, lines.length
|
assert_equal 1, lines.length
|
||||||
|
Loading…
x
Reference in New Issue
Block a user