diff options
author | Peter Zhu <[email protected]> | 2024-10-10 11:44:52 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-10-10 11:44:52 -0400 |
commit | 9df86a86af00cbf4baee42ba22ddf754fc6324d4 (patch) | |
tree | 2203cd9826e0da84a4dc1fb000846250ddea1263 | |
parent | 71a59543a6a5ba26ee67e5ea815bfd3712b3f39c (diff) |
Fix typo in test_gc.rb [ci skip]
-rw-r--r-- | test/ruby/test_gc.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 31ad71a1a1..faa0b1f893 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -53,7 +53,7 @@ class TestGc < Test::Unit::TestCase end def test_gc_config_full_mark_by_default - omit "unsupoported platform/GC" unless defined?(GC.config) + omit "unsupported platform/GC" unless defined?(GC.config) config = GC.config assert_not_empty(config) @@ -61,13 +61,13 @@ class TestGc < Test::Unit::TestCase end def test_gc_config_invalid_args - omit "unsupoported platform/GC" unless defined?(GC.config) + omit "unsupported platform/GC" unless defined?(GC.config) assert_raise(ArgumentError) { GC.config(0) } end def test_gc_config_setting_returns_updated_config_hash - omit "unsupoported platform/GC" unless defined?(GC.config) + omit "unsupported platform/GC" unless defined?(GC.config) old_value = GC.config[:rgengc_allow_full_mark] assert_true(old_value) @@ -82,7 +82,7 @@ class TestGc < Test::Unit::TestCase end def test_gc_config_setting_returns_nil_for_missing_keys - omit "unsupoported platform/GC" unless defined?(GC.config) + omit "unsupported platform/GC" unless defined?(GC.config) missing_value = GC.config(no_such_key: true)[:no_such_key] assert_nil(missing_value) @@ -92,7 +92,7 @@ class TestGc < Test::Unit::TestCase end def test_gc_config_disable_major - omit "unsupoported platform/GC" unless defined?(GC.config) + omit "unsupported platform/GC" unless defined?(GC.config) GC.enable GC.start @@ -116,7 +116,7 @@ class TestGc < Test::Unit::TestCase end def test_gc_config_disable_major_gc_start_always_works - omit "unsupoported platform/GC" unless defined?(GC.config) + omit "unsupported platform/GC" unless defined?(GC.config) GC.config(full_mark: false) |