1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Eliminate warnings from Regexp multiline extension tests

[#3103 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
Jeffrey Hardy 2009-08-26 12:16:42 -04:00 committed by Jeremy Kemper
parent 66d8063c91
commit 0821941598

View file

@ -7,9 +7,9 @@ class RegexpExtAccessTests < Test::Unit::TestCase
end end
def test_multiline def test_multiline
assert //m.multiline? assert_equal true, //m.multiline?
assert ! //.multiline? assert_equal false, //.multiline?
assert ! /(?m:)/.multiline? assert_equal false, /(?m:)/.multiline?
end end
def test_optionalize def test_optionalize