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 8 years ago
parent 04f8b50f80
commit 00faf20fe1

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

Loading…
Cancel
Save