diff options
-rw-r--r-- | test/ripper/test_scanner_events.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb index 323c4098e8..8691924464 100644 --- a/test/ripper/test_scanner_events.rb +++ b/test/ripper/test_scanner_events.rb @@ -973,10 +973,10 @@ class TestRipper::ScannerEvents < Test::Unit::TestCase def test_invalid_char err = nil - assert_equal ['a'], scan('ident', "\ea") {|*e| err = e} - assert_equal :compile_error, err[0] - assert_match /Invalid char/, err[1] - assert_equal "\e", err[2] + assert_equal(['a'], scan('ident', "\ea") {|*e| err = e}) + assert_equal(:compile_error, err[0]) + assert_match(/Invalid char/, err[1]) + assert_equal("\e", err[2]) end def test_invalid_hex_escape |