summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_gc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index e9e4bdc75f..fd858f2c69 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -320,7 +320,7 @@ class TestGc < Test::Unit::TestCase
def test_exception_in_finalizer
bug9168 = '[ruby-core:58652] [Bug #9168]'
- assert_normal_exit(<<-'end;', bug9168)
+ assert_normal_exit(<<-'end;', bug9168, encoding: Encoding::ASCII_8BIT)
raise_proc = proc {raise}
10000.times do
ObjectSpace.define_finalizer(Object.new, raise_proc)