Fix ESLint errors in spec/behavior/generated-parser-behavior.spec.js

Fix the following errors:

   24:46  error  Unexpected trailing comma  comma-dangle
  403:26  error  Unexpected trailing comma  comma-dangle
  414:26  error  Unexpected trailing comma  comma-dangle
redux
David Majda 9 years ago
parent 04f8b50f80
commit 00faf20fe1

@ -21,7 +21,7 @@ describe("generated parser behavior", function() {
{ cache: false, optimize: "speed" },
{ cache: false, optimize: "size" },
{ cache: true, optimize: "speed" },
{ cache: true, optimize: "size" },
{ cache: true, optimize: "size" }
],
i;
@ -400,7 +400,7 @@ describe("generated parser behavior", function() {
it("returns its result", function() {
var parser = PEG.buildParser([
'start = a',
'a = "a"',
'a = "a"'
].join("\n"), options);
expect(parser).toParse("a", "a");
@ -411,7 +411,7 @@ describe("generated parser behavior", function() {
it("reports match failure", function() {
var parser = PEG.buildParser([
'start = a',
'a = "a"',
'a = "a"'
].join("\n"), options);
expect(parser).toFailToParse("b");

Loading…
Cancel
Save