diff options
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_rubyoptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index f7c5c415cf..b7c9d93540 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -110,7 +110,7 @@ class TestRubyOptions < Test::Unit::TestCase assert_in_out_err(["-vve", ""]) do |r, e| assert_match(VERSION_PATTERN, r[0]) description = RUBY_DESCRIPTION - description = description.gsub(/\+JIT /, '') if RubyVM::MJIT.enabled? + description = description.sub(/\+JIT /, '') if RubyVM::MJIT.enabled? assert_equal(description, r[0]) assert_equal([], e) end |
