summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-07-10 00:47:26 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-07-10 00:49:28 -0700
commit615758bd823d52e542976bbc83a728c1bad28ade (patch)
treeddf770b900daf3a21ed009a8fd44d2b141dbcd4e /test/ruby
parent7fa3c71becd6d9b11d1574b3537a3b2993a7046c (diff)
Fix an inaccurate comment in test_jit
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_jit.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index c1f2f7a6d5..2386a5e89b 100644
--- a/test/ruby/test_jit.rb
+++ b/test/ruby/test_jit.rb
@@ -805,7 +805,9 @@ class TestJIT < Test::Unit::TestCase
print(test('a')) # set #to_s cc to String#to_s (expecting C method)
print(test('a')) # JIT with #to_s cc: String#to_s
- print(test('a', recursive: :foo)) # update #to_s cd->cc to Symbol#to_s, then go through inlined #to_s cc with Symbol#to_s
+ # update #to_s cd->cc to Symbol#to_s, then go through the Symbol#to_s cd->cc
+ # after checking receiver class using inlined #to_s cc with String#to_s.
+ print(test('a', recursive: :foo))
end;
end