diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-13 16:32:00 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-13 16:32:00 +0000 |
commit | 5cc1edcd0d03cf433b08b8ac8a99bfee5dd7538e (patch) | |
tree | 0e22d249ebc7ee4b4abf4b807e0fd45d8d91300d /test | |
parent | f03642038e3c0f8c387226d845b0910179c0d72a (diff) | |
download | ruby-5cc1edcd0d03cf433b08b8ac8a99bfee5dd7538e.tar.gz |
Follow tests for changes of ENV's encoding.
* test/ruby/test_m17n.rb (TestM17N#test_env): the encoding of ENV
is now locale encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_m17n.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb index eb9aa7c93c..cbab1f6692 100644 --- a/test/ruby/test_m17n.rb +++ b/test/ruby/test_m17n.rb @@ -1132,9 +1132,10 @@ class TestM17N < Test::Unit::TestCase end def test_env + locale_encoding = Encoding.find("locale") ENV.each {|k, v| - assert_equal(Encoding::ASCII_8BIT, k.encoding) - assert_equal(Encoding::ASCII_8BIT, v.encoding) + assert_equal(locale_encoding, k.encoding) + assert_equal(locale_encoding, v.encoding) } end |