diff options
Diffstat (limited to 'test/ruby/test_m17n.rb')
-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 eb9aa7c93..cbab1f669 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 |