summaryrefslogtreecommitdiff
path: root/test/csv/test_data_converters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/csv/test_data_converters.rb')
-rwxr-xr-xtest/csv/test_data_converters.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/csv/test_data_converters.rb b/test/csv/test_data_converters.rb
index 04970cd4611..114049d66f6 100755
--- a/test/csv/test_data_converters.rb
+++ b/test/csv/test_data_converters.rb
@@ -260,10 +260,10 @@ class TestCSV::DataConverters < TestCSV
assert_equal(unconverted, row.unconverted_fields)
end
- data = <<-END_CSV.gsub(/^\s+/, "")
- first,second,third
- 1,2,3
- END_CSV
+ data = <<-CSV
+first,second,third
+1,2,3
+ CSV
row = nil
assert_nothing_raised(Exception) do
row = CSV.parse_line( data,