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