Skip to content

Commit

Permalink
tests: wrong error with string literal in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Apr 24, 2024
1 parent 23e9de3 commit 94abfea
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions tests/test-dirs/errors/issue1753.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
$ $MERLIN single errors -filename main.ml <<'EOF' | \
> jq '.value[0]'
> (* {%ext|babar|} *)
> EOF
{
"start": {
"line": 1,
"col": 0
},
"end": {
"line": 1,
"col": 2
},
"type": "typer",
"sub": [
{
"start": {
"line": 1,
"col": 0
},
"end": {
"line": 1,
"col": 2
},
"message": "String literal begins here"
}
],
"valid": true,
"message": "This comment contains an unterminated string literal"
}

0 comments on commit 94abfea

Please sign in to comment.