1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/csv.rb, test/csv: should not assume $, invariant.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-12-25 06:58:58 +00:00
parent 47a1cd1291
commit d05217109f
13 changed files with 80 additions and 54 deletions

7
test/csv/test_csv_parsing.rb Normal file → Executable file
View file

@ -7,10 +7,9 @@
# Copyright 2005 James Edward Gray II. You can redistribute or modify this code
# under the terms of Ruby's license.
require "test/unit"
require "timeout"
require "csv"
require_relative "base"
#
# Following tests are my interpretation of the
@ -18,7 +17,7 @@ require "csv"
# document in one place (intentionally) and that is to make the default row
# separator <tt>$/</tt>.
#
class TestCSVParsing < Test::Unit::TestCase
class TestCSV::Parsing < TestCSV
BIG_DATA = "123456789\n" * 1024
def test_mastering_regex_example
@ -217,4 +216,6 @@ class TestCSVParsing < Test::Unit::TestCase
end
end
end
with_diffrent_ofs
end