We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grammar:
module.exports = grammar({ name: "bug", rules: { source_file: (_) => seq("(", ")"), }, });
Corpus corpus/error.txt:
corpus/error.txt
=== Err === ( ---
Running tests:
1 failure: expected / actual 1. Err: (source_file (MISSING ")) )
As you can see, the closing " is missing and the associated ) as well.
"
)
Expected output:
1 failure: expected / actual 1. Err: (source_file (MISSING ")")) )
Testing against corpus updated with -u also fails:
-u
================================================================================ Err ================================================================================ ( -------------------------------------------------------------------------------- (source_file (MISSING "))
Output:
err: ✗ Err 1 failure: expected / actual 1. Err: (source_file (MISSING "))
Surprisingly, no "expected/actual" diff here, just that this was "invalid".
The text was updated successfully, but these errors were encountered:
Invalid?
Sorry, something went wrong.
The test was marked as a fail even though the output is identical to the expected result.
Successfully merging a pull request may close this issue.
Grammar:
Corpus
corpus/error.txt
:Running tests:
As you can see, the closing
"
is missing and the associated)
as well.Expected output:
Testing against corpus updated with
-u
also fails:Output:
Surprisingly, no "expected/actual" diff here, just that this was "invalid".
The text was updated successfully, but these errors were encountered: