Whitespace fixes

redux
David Majda 8 years ago
parent 47bc456dcd
commit 45b62d66d2

@ -172,7 +172,7 @@ while (args.length > 0 && isOption(args[0])) {
}
try {
json = fs.readFileSync(args[0]);
} catch(e) {
} catch (e) {
abort("Can't read from file \"" + args[0] + "\".");
}
addExtraOptions(options, json);

@ -94,7 +94,7 @@ beforeEach(function() {
this.message = () =>
"Expected the pass to report an error "
+ (details ? "with details " + jasmine.pp(details) + " ": "")
+ (details ? "with details " + jasmine.pp(details) + " " : "")
+ "for grammar " + jasmine.pp(grammar) + ", "
+ "but it didn't.";

@ -252,7 +252,7 @@ describe("PEG.js grammar parser", function() {
// Canonical Initializer is "{ code }".
it("parses Initializer", function() {
expect("{ code };start = 'abcd'").toParseAs(
{ type: "grammar", initializer: initializer, rules: [ruleStart] }
{ type: "grammar", initializer: initializer, rules: [ruleStart] }
);
});

Loading…
Cancel
Save