summaryrefslogtreecommitdiff
path: root/test/ruby/test_refinement.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-28 11:53:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-28 11:53:54 +0000
commitdd4fdb32bdbb68810fa77468157945a481bd85cc ()
treeb42369ec580b94da6aa0e09af8c7b0adc08e7077 /test/ruby/test_refinement.rb
parentb5f906136d821bf015583abdf3b01352805da290 (diff)
added assertion with method ref operator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/ruby/test_refinement.rb1
1 files changed, 1 insertions, 0 deletions
@@ -235,6 +235,7 @@ class TestRefinement < Test::Unit::TestCase
meth.call(3)
EOS
assert_equal(:refine_pow, eval_using(MethodIntegerPowEx, "2.pow(3)"))
end
module InstanceMethodIntegerPowEx