diff options
Diffstat (limited to 'test/ruby/test_class.rb')
-rw-r--r-- | test/ruby/test_class.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ruby/test_class.rb b/test/ruby/test_class.rb index ce9ffab3c5..65f854d1ff 100644 --- a/test/ruby/test_class.rb +++ b/test/ruby/test_class.rb @@ -544,9 +544,7 @@ class TestClass < Test::Unit::TestCase m = Module.new o = m.module_eval "class A\u{3042}; self; end.new" assert_raise_with_message(TypeError, /A\u{3042}/) { - EnvUtil.with_default_internal(Encoding::UTF_8) { - o::Foo - } + o::Foo } end |