summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-12-26 20:29:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-12-26 20:29:06 +0900
commitb37e9c77fe23f76501e5613276049ed8fc26ab6c (patch)
treefe4806259a1e897c212db8ca90e95ef24a0d65b0 /test/ruby
parent5e54c57d83949818200bcec069455d713be681ff (diff)
Suppress method redefinition warnings
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_mjit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_mjit.rb b/test/ruby/test_mjit.rb
index a97747eb88..74c6b06756 100644
--- a/test/ruby/test_mjit.rb
+++ b/test/ruby/test_mjit.rb
@@ -1191,6 +1191,7 @@ class TestMJIT < Test::Unit::TestCase
assert_eval_with_jit("#{<<~"begin;"}\n#{<<~"end;"}", success_count: 0, call_threshold: 2)
begin;
class Integer
+ alias < <
def <(x)
true
end