diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-01 05:48:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-01 05:48:57 +0000 |
commit | 2374241752588dd9ff112624f7ca7f24c7968607 (patch) | |
tree | 9041eadd568d5d616c7f1652c3373ad8f716138a /test/ruby/test_string.rb | |
parent | e1bb07105fec078067c269229e9e29a2a6d0280e (diff) | |
download | ruby-2374241752588dd9ff112624f7ca7f24c7968607.tar.gz |
test_regexp.rb, test_string.rb: suppress warnings
* test/ruby/test_regexp.rb (test_eq_tilde_can_be_overridden): suppress
a warning.
* test/ruby/test_string.rb (test_eq_tilde_can_be_overridden): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r-- | test/ruby/test_string.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index 694d122372..8d96c8cbae 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -2260,6 +2260,7 @@ class TestString < Test::Unit::TestCase def test_eq_tilde_can_be_overridden assert_in_out_err([], <<-RUBY, ["foo"], []) class String + undef =~ def =~(str) "foo" end |