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

8
test/csv/test_data_converters.rb Normal file → Executable file
View file

@ -7,11 +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_relative "base"
require "csv"
class TestDataConverters < Test::Unit::TestCase
class TestCSV::DataConverters < TestCSV
def setup
@data = "Numbers,:integer,1,:float,3.015"
@parser = CSV.new(@data)
@ -258,4 +256,6 @@ class TestDataConverters < Test::Unit::TestCase
assert_respond_to(row, :unconverted_fields)
assert_equal(Array.new, row.unconverted_fields)
end
with_diffrent_ofs
end