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:
parent
47a1cd1291
commit
d05217109f
13 changed files with 80 additions and 54 deletions
8
test/csv/test_interface.rb
Normal file → Executable file
8
test/csv/test_interface.rb
Normal file → Executable 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 TestCSVInterface < Test::Unit::TestCase
|
||||
class TestCSV::Interface < TestCSV
|
||||
def setup
|
||||
@path = File.join(File.dirname(__FILE__), "temp_test_data.csv")
|
||||
|
||||
|
@ -306,4 +304,6 @@ class TestCSVInterface < Test::Unit::TestCase
|
|||
assert_equal(STDOUT, CSV.instance.instance_eval { @io })
|
||||
assert_equal(STDOUT, CSV { |new_csv| new_csv.instance_eval { @io } })
|
||||
end
|
||||
|
||||
with_diffrent_ofs
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue