We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 306c247 commit 0754938Copy full SHA for 0754938
bin/peggy-cli.mjs
@@ -545,6 +545,9 @@ export class PeggyCLI extends Command {
545
sources: [{
546
source: this.argv.grammarSource,
547
text: input,
548
+ }, {
549
+ source: this.testGrammarSource,
550
+ text: this.testText,
551
}],
552
});
553
}
test/cli/run.spec.ts
@@ -944,7 +944,13 @@ Options:
944
stdin: "foo='1'",
945
errorCode: "peggy.cli",
946
exitCode: 2,
947
- error: "end of input",
+ error: `\
948
+Error running test
949
+Error: Expected "1" but end of input found.
950
+ --> command line:1:1
951
+ |
952
+1 |${" "}
953
+ |`,
954
955
956
0 commit comments