Skip to content

Commit

Permalink
test: update the tool checker for make parser
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <manan@planetscale.com>
  • Loading branch information
GuptaManan100 committed Apr 7, 2022
1 parent 439ea6b commit da828df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_make_parser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

mv $CUR $TMP
output=$(go run ./goyacc -fast-append -o $CUR sql.y)
expectedOutput=$'\nconflicts: 20 shift/reduce'
expectedOutput=$'\nconflicts: 1 shift/reduce'

if [[ "$output" != "$expectedOutput" ]]; then
echo -e "Expected output from goyacc:$expectedOutput\ngot:$output"
Expand Down

0 comments on commit da828df

Please sign in to comment.