summaryrefslogtreecommitdiff
path: root/test/ruby/test_refinement.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2020-02-09 20:13:49 +0900
committerNobuyoshi Nakada <[email protected]>2020-02-09 20:13:49 +0900
commite3e96e3faa1683c8ee832cb6da6f9f96d18b0d77 ()
treeaca0cf7dafdd2527a04d366d0250d5ee1c1ed2a4 /test/ruby/test_refinement.rb
parent0f05b234fba2d961f1740c094a83f9831c15b210 (diff)
Check if bindable against the refined target [Bug #16617]
-rw-r--r--test/ruby/test_refinement.rb19
1 files changed, 19 insertions, 0 deletions
@@ -2386,6 +2386,25 @@ class TestRefinement < Test::Unit::TestCase
assert_equal(0, Bug13446::GenericEnumerable.new.sum)
end
private
def eval_using(mod, s)