Skip to content

Commit

Permalink
Eliminate warnings from Regexp multiline extension tests
Browse files Browse the repository at this point in the history
[#3103 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information
packagethief authored and jeremy committed Aug 26, 2009
1 parent 66d8063 commit 0821941
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activesupport/test/core_ext/regexp_ext_test.rb
Expand Up @@ -7,9 +7,9 @@ def test_number_of_captures
end

def test_multiline
assert //m.multiline?
assert ! //.multiline?
assert ! /(?m:)/.multiline?
assert_equal true, //m.multiline?
assert_equal false, //.multiline?
assert_equal false, /(?m:)/.multiline?
end

def test_optionalize
Expand Down

0 comments on commit 0821941

Please sign in to comment.