diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-31 09:29:40 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-31 09:29:40 +0000 |
commit | 1c7f9073b018319fbea5ffe98d7264d4553aaec1 (patch) | |
tree | 77c6dc199a1440a81d3724ed5d885c93ae1d8e5c /test/ruby/test_refinement.rb | |
parent | b30a1723853bc1a189930a5c7ebdfc5ec7e4817b (diff) | |
download | ruby-1c7f9073b018319fbea5ffe98d7264d4553aaec1.tar.gz |
* eval.c (rb_mod_refine, mod_using, top_using): don't show
warnings because Refinements are no longer experimental.
[ruby-core:55993] [Feature #8632]
* test/ruby/test_refinement.rb: related test.
* NEWS: fixes for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_refinement.rb')
-rw-r--r-- | test/ruby/test_refinement.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb index e812e62b59..f1f5e9d3e5 100644 --- a/test/ruby/test_refinement.rb +++ b/test/ruby/test_refinement.rb @@ -395,7 +395,7 @@ class TestRefinement < Test::Unit::TestCase end def test_main_using - assert_in_out_err([], <<-INPUT, %w(:C :M), /Refinements are experimental/) + assert_in_out_err([], <<-INPUT, %w(:C :M), []) class C def foo :C @@ -461,7 +461,7 @@ class TestRefinement < Test::Unit::TestCase end def test_using_method_cache - assert_in_out_err([], <<-INPUT, %w(:M1 :M2), /Refinements are experimental/) + assert_in_out_err([], <<-INPUT, %w(:M1 :M2), []) class C def foo "original" |