output debug for failed parses
This commit is contained in:
parent
5436e6bfc9
commit
4c585e415b
@ -1,5 +1,5 @@
|
||||
require_relative "../helper"
|
||||
|
||||
require "parslet/convenience"
|
||||
# Included in parser test will create tests methods
|
||||
module ParserHelper
|
||||
|
||||
@ -16,7 +16,7 @@ module ParserHelper
|
||||
|
||||
# check that @string_input parses correctly to @parse_output
|
||||
def check_parse
|
||||
is = @parser.parse(@string_input)
|
||||
is = @parser.parse_with_debug(@string_input)
|
||||
#puts is.inspect
|
||||
assert_equal @parse_output , is
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user