aboutsummaryrefslogtreecommitdiffstats
path: root/test/csv/tc_features.rb
diff options
context:
space:
mode:
authorjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 05:14:04 +0000
committerjeg2 <jeg2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 05:14:04 +0000
commita2443bdcf9f0c57c6623524fa5f85cd0d3a8ed29 (patch)
tree26624021562311c0fa872fcaa8b514f44a5204cc /test/csv/tc_features.rb
parent33a071016b312561e74470441bc512a13a9bf1d1 (diff)
downloadruby-a2443bdcf9f0c57c6623524fa5f85cd0d3a8ed29.tar.gz
* 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
Diffstat (limited to 'test/csv/tc_features.rb')
-rw-r--r--test/csv/tc_features.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/tc_features.rb b/test/csv/tc_features.rb
index 6766839e10..ae5a8a451b 100644
--- a/test/csv/tc_features.rb
+++ b/test/csv/tc_features.rb
@@ -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)