diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-01 12:47:07 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-01 12:47:07 +0000 |
commit | 78008d342e7bd31d706f6c71465505e912209a3c (patch) | |
tree | 02ba214e3806bd189714b9d0503799cb79e601f8 /test/ruby/test_regexp.rb | |
parent | a60856f0100caffc22c0ae16ee6797b2120e2d13 (diff) | |
download | ruby-78008d342e7bd31d706f6c71465505e912209a3c.tar.gz |
* test/ruby/test_parse.rb (TestParse::test_void_expr_stmts_value):
shut up warning.
* rational.c (nurat_to_f): no need for forceful warning when
converting to float. overflow is a nature of float values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_regexp.rb')
-rw-r--r-- | test/ruby/test_regexp.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index 45ca220529..17fe9fa45f 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -250,10 +250,6 @@ class TestRegexp < Test::Unit::TestCase assert_equal(["foo", "bar", "baz"], m.values_at(1, 2, 3)) end - def test_match_select - assert_equal(["ab", "a", "b"], /(.)(.)/.match("ab").select {|v| true }, "[ruby-dev:34556]") - end - def test_match_string m = /(?<x>b..)/.match("foobarbaz") assert_equal("foobarbaz", m.string) |