mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/csv.rb: Fixed test failures caused by changes to Ruby.
* test/csv/tc_serialization, test/csv/tc_csv_parsing, test/csv/tc_features: Fixed test failures caused by changes to Ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
33a071016b
commit
a2443bdcf9
5 changed files with 21 additions and 10 deletions
|
@ -82,7 +82,7 @@ class TestCSVFeatures < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_lineno
|
||||
assert_equal(5, @sample_data.to_a.size)
|
||||
assert_equal(5, @sample_data.lines.to_a.size)
|
||||
|
||||
4.times do |line_count|
|
||||
assert_equal(line_count, @csv.lineno)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue