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:
parent
66d8063c91
commit
0821941598
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue