mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
added assertion with method ref operator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b5f906136d
commit
dd4fdb32bd
1 changed files with 1 additions and 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)"))
|
||||
assert_equal(:refine_pow, eval_using(MethodIntegerPowEx, "2.:pow.(3)"))
|
||||
end
|
||||
|
||||
module InstanceMethodIntegerPowEx
|
||||
|
|
Loading…
Reference in a new issue