summaryrefslogtreecommitdiff
path: root/test/ruby/test_refinement.rb
diff options
context:
space:
mode:
authorShugo Maeda <[email protected]>2022-01-05 17:47:29 +0900
committerShugo Maeda <[email protected]>2022-01-05 17:47:29 +0900
commit54198c7b97d3d353f7ac233e0360034b6e7b6cb6 ()
tree62959e7071f3f044c860d28a20e985d6cea479f5 /test/ruby/test_refinement.rb
parent21ee5341f8fc4ca513295dff2148f7c203c908a7 (diff)
Add Module#refinements and Refinement#refined_class [Feature #12737]
-rw-r--r--test/ruby/test_refinement.rb29
1 files changed, 29 insertions, 0 deletions
@@ -1748,6 +1748,35 @@ class TestRefinement < Test::Unit::TestCase
assert_equal [ref::RefB::REF, ref::RefA::REF], ref::Combined::USED_REFS
end
def test_warn_setconst_in_refinmenet
bug10103 = '[ruby-core:64143] [Bug #10103]'
warnings = [