summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index fd52255acd..f61466c035 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -310,7 +310,7 @@ class TestRubyOptions < Test::Unit::TestCase
def test_enabled_gc
omit unless /linux|darwin/ =~ RUBY_PLATFORM
- if RbConfig::CONFIG['shared_gc_dir'].length > 0
+ if RbConfig::CONFIG['modular_gc_dir'].length > 0
assert_match(/\+GC/, RUBY_DESCRIPTION)
else
assert_no_match(/\+GC/, RUBY_DESCRIPTION)