##// END OF EJS Templates
scm: cvs: fix unit model cat test fails on Windows....
Toshi MARUYAMA -
r5320:f0d32f65678e
parent child
Show More
@@ -122,12 +122,14 class RepositoryCvsTest < ActiveSupport::TestCase
122 122 assert buf
123 123 lines = buf.split("\n")
124 124 assert_equal 2, lines.length
125 assert_equal 'with one change', lines[1]
125 buf = lines[1].gsub(/\r$/, "")
126 assert_equal 'with one change', buf
126 127 buf = @repository.cat('README', '1')
127 128 assert buf
128 129 lines = buf.split("\n")
129 130 assert_equal 1, lines.length
130 assert_equal 'CVS test repository', lines[0]
131 buf = lines[0].gsub(/\r$/, "")
132 assert_equal 'CVS test repository', buf
131 133 assert_nil @repository.cat('missing.rb')
132 134
133 135 # sources/welcome_controller.rb is removed at revision 5.
General Comments 0
You need to be logged in to leave comments. Login now