summaryrefslogtreecommitdiff
path: root/test/ripper/test_parser_events.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ripper/test_parser_events.rb')
-rw-r--r--test/ripper/test_parser_events.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ripper/test_parser_events.rb b/test/ripper/test_parser_events.rb
index d61dba340d..87bd0d4e0b 100644
--- a/test/ripper/test_parser_events.rb
+++ b/test/ripper/test_parser_events.rb
@@ -27,10 +27,12 @@ class TestRipper::ParserEvents < Test::Unit::TestCase
def warning(str)
parse(str, :warning) {|e, *args| return args}
+ assert(false, "warning expected")
end
def warn(str)
parse(str, :warn) {|e, *args| return args}
+ assert(false, "warning expected")
end
def test_program