Skip to content

Commit

Permalink
Add test to check linecounting
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonidas-from-XIV committed Jun 27, 2024
1 parent 7261a28 commit 8599b03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_json5/test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ No \\n's!",
expected);
parsing_should_fail_with_error "unexpected EOF in list" "[1, 2,"
"Line 1: Unexpected end of input";
parsing_should_fail_with_error "unexpected EOF on different line" "\n[1, 2,"
"Line 2: Unexpected end of input";
parsing_should_fail_with_error "unexpected EOF in assoc" {|{"foo": 1,|}
"Line 1: Unexpected end of input";
parsing_should_fail_with_error "missing colon in assoc" {|{"foo"}|}
Expand Down

0 comments on commit 8599b03

Please sign in to comment.