diff options
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_gc.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 1eb5451b3f..72fab5c43c 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -127,9 +127,7 @@ class TestGc < Test::Unit::TestCase def test_gc_config_implementation_is_readonly omit unless /darwin|linux/.match(RUBY_PLATFORM) - impl = GC.config[:implementation] - GC.config(implementation: "somethingelse") - assert_equal(impl, GC.config[:implementation]) + assert_raise(ArgumentError) { GC.config(implementation: "somethingelse") } end def test_start_full_mark |
