diff options
author | Jeffrey Hardy <packagethief@gmail.com> | 2009-08-26 12:16:42 -0400 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-08-26 14:47:29 -0700 |
commit | 0821941598c214cb45f4d4373107102af1ccc777 (patch) | |
tree | baf7ef0b11a865e7b105e7b02fc2dd29421dfe0e /activesupport | |
parent | 66d8063c910b166e58f77ca5149a454f721667c7 (diff) | |
download | rails-0821941598c214cb45f4d4373107102af1ccc777.tar.gz rails-0821941598c214cb45f4d4373107102af1ccc777.tar.bz2 rails-0821941598c214cb45f4d4373107102af1ccc777.zip |
Eliminate warnings from Regexp multiline extension tests
[#3103 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/regexp_ext_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/test/core_ext/regexp_ext_test.rb b/activesupport/test/core_ext/regexp_ext_test.rb index be06a597a8..e2d9140bca 100644 --- a/activesupport/test/core_ext/regexp_ext_test.rb +++ b/activesupport/test/core_ext/regexp_ext_test.rb @@ -7,9 +7,9 @@ class RegexpExtAccessTests < Test::Unit::TestCase 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 |