diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 07:01:35 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 07:01:35 +0000 |
commit | 6787bf92759c414b7738fb3e2c34eb459d79fc01 (patch) | |
tree | 57767e90332f860867dca559c534eda1123ffc0a /test/ruby/test_io_m17n.rb | |
parent | 1748b91a405fc11d3237cae023761f73af775a6d (diff) | |
download | ruby-6787bf92759c414b7738fb3e2c34eb459d79fc01.tar.gz ruby-6787bf92759c414b7738fb3e2c34eb459d79fc01.tar.xz ruby-6787bf92759c414b7738fb3e2c34eb459d79fc01.zip |
* test/ruby/test_io_m17n.rb: fix tests
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io_m17n.rb')
-rw-r--r-- | test/ruby/test_io_m17n.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb index 9a8236a5c..ccb74103f 100644 --- a/test/ruby/test_io_m17n.rb +++ b/test/ruby/test_io_m17n.rb @@ -87,7 +87,7 @@ EOT def test_open_w with_tmpdir { open("tmp", "w") {|f| - assert_equal(Encoding.default_external, f.external_encoding) + assert_equal(nil, f.external_encoding) assert_equal(nil, f.internal_encoding) } } @@ -96,7 +96,7 @@ EOT def test_open_wb with_tmpdir { open("tmp", "wb") {|f| - assert_equal(Encoding::ASCII_8BIT, f.external_encoding) + assert_equal(nil, f.external_encoding) assert_equal(nil, f.internal_encoding) } } @@ -135,12 +135,12 @@ EOT end def test_stdout - assert_equal(Encoding.default_external, STDOUT.external_encoding) + assert_equal(nil, STDOUT.external_encoding) assert_equal(nil, STDOUT.internal_encoding) end def test_stderr - assert_equal(Encoding.default_external, STDERR.external_encoding) + assert_equal(nil, STDERR.external_encoding) assert_equal(nil, STDERR.internal_encoding) end |