diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 4115dbb3a2..87eb1912d9 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -893,8 +893,8 @@ class TestHash < Test::Unit::TestCase sjis_hash = "{\x87]: 1}".force_encoding('sjis') assert_equal(eval(sjis_hash).inspect, sjis_hash) ensure - $VERBOSE = verbose_bak Encoding.default_external = enc + $VERBOSE = verbose_bak end end