Commit 0795dd75 authored by tmaruyama's avatar tmaruyama

scm: cvs: fix unit model cat test fails on Windows.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 1d0da602
......@@ -122,12 +122,14 @@ class RepositoryCvsTest < ActiveSupport::TestCase
assert buf
lines = buf.split("\n")
assert_equal 2, lines.length
assert_equal 'with one change', lines[1]
buf = lines[1].gsub(/\r$/, "")
assert_equal 'with one change', buf
buf ='README', '1')
assert buf
lines = buf.split("\n")
assert_equal 1, lines.length
assert_equal 'CVS test repository', lines[0]
buf = lines[0].gsub(/\r$/, "")
assert_equal 'CVS test repository', buf
# sources/welcome_controller.rb is removed at revision 5.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment