Change run_spec to have explicit parser list (#3356)
parent
b2cca7eacc
commit
f119d4a90f
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, { trailingComma: "all" }, ["typescript"]);
|
||||
run_spec(__dirname, { arrowParens: "always" }, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"], { trailingComma: "all" });
|
||||
run_spec(__dirname, ["flow", "typescript"], { arrowParens: "always" });
|
||||
|
|
|
@ -1,6 +1,2 @@
|
|||
run_spec(__dirname, { parser: "babylon", arrowParens: "avoid" }, [
|
||||
"typescript"
|
||||
]);
|
||||
run_spec(__dirname, { parser: "babylon", arrowParens: "always" }, [
|
||||
"typescript"
|
||||
]);
|
||||
run_spec(__dirname, ["babylon", "typescript"], { arrowParens: "avoid" });
|
||||
run_spec(__dirname, ["babylon", "typescript"], { arrowParens: "always" });
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "babylon" });
|
||||
run_spec(__dirname, ["babylon"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["babylon", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "babylon", "typescript"]);
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
run_spec(__dirname, { parser: "babylon" });
|
||||
run_spec(__dirname, { parser: "babylon", semi: false });
|
||||
run_spec(__dirname, ["babylon"]);
|
||||
run_spec(__dirname, ["babylon"], { semi: false });
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, { bracketSpacing: false }, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"], { bracketSpacing: false });
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["babylon", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "babylon", "typescript"]);
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
run_spec(__dirname, { parser: "babylon" });
|
||||
run_spec(__dirname, { semi: false, parser: "babylon" });
|
||||
run_spec(__dirname, ["babylon"]);
|
||||
run_spec(__dirname, ["babylon"], { semi: false });
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["babylon"]);
|
||||
run_spec(__dirname, ["flow", "babylon"]);
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
run_spec(__dirname, { jsxBracketSameLine: true }, ["babylon", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "babylon", "typescript"], {
|
||||
jsxBracketSameLine: true
|
||||
});
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, { parser: "css", singleQuote: true });
|
||||
run_spec(__dirname, ["css"]);
|
||||
run_spec(__dirname, ["css"], { singleQuote: true });
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, { parser: "css", singleQuote: true });
|
||||
run_spec(__dirname, ["css"]);
|
||||
run_spec(__dirname, ["css"], { singleQuote: true });
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "css" });
|
||||
run_spec(__dirname, ["css"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "babylon" });
|
||||
run_spec(__dirname, ["babylon"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["babylon", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "babylon", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["babylon", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "babylon", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "babylon" });
|
||||
run_spec(__dirname, ["babylon"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["babylon", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "babylon", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["babylon", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "babylon", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
// FIXME export_default_function_declaration_async.js flow != babylon output
|
||||
run_spec(__dirname, { parser: "babylon" }, ["typescript"]);
|
||||
run_spec(__dirname, ["babylon", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, { bracketSpacing: false }, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"], { bracketSpacing: false });
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "babylon" });
|
||||
run_spec(__dirname, ["babylon"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "babylon" });
|
||||
run_spec(__dirname, ["babylon"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, { parser: "babylon" }, ["flow", "typescript"]);
|
||||
run_spec(__dirname, ["babylon", "flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["typescript"]);
|
||||
run_spec(__dirname, ["flow", "typescript"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname, null, ["babylon"]);
|
||||
run_spec(__dirname, ["flow", "babylon"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
run_spec(__dirname);
|
||||
run_spec(__dirname, ["flow"]);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue