Test: Rename run_spec to runFormatTest (#15943)
This commit is contained in:
1 parent
ed23dacc9e
commit
6eda34db44
1236 files changed
+1549
-1486
No files matched your search
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1,2 +1,2 @@
|
||||
run_spec(import.meta, ["html"], { bracketSameLine: true });
|
||||
run_spec(import.meta, ["html"], { bracketSameLine: false });
|
||||
runFormatTest(import.meta, ["html"], { bracketSameLine: true });
|
||||
runFormatTest(import.meta, ["html"], { bracketSameLine: false });
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1,5 +1,5 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
run_spec(import.meta, ["html"], { printWidth: 1 });
|
||||
run_spec(import.meta, ["html"], { printWidth: Number.POSITIVE_INFINITY });
|
||||
run_spec(import.meta, ["html"], { htmlWhitespaceSensitivity: "strict" });
|
||||
run_spec(import.meta, ["html"], { htmlWhitespaceSensitivity: "ignore" });
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"], { printWidth: 1 });
|
||||
runFormatTest(import.meta, ["html"], { printWidth: Number.POSITIVE_INFINITY });
|
||||
runFormatTest(import.meta, ["html"], { htmlWhitespaceSensitivity: "strict" });
|
||||
runFormatTest(import.meta, ["html"], { htmlWhitespaceSensitivity: "ignore" });
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1,2 +1,2 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
run_spec(import.meta, ["html"], { singleQuote: true });
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"], { singleQuote: true });
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1,2 +1,2 @@
|
||||
run_spec(import.meta, ["html"], { requirePragma: true });
|
||||
run_spec(import.meta, ["html"], { insertPragma: true });
|
||||
runFormatTest(import.meta, ["html"], { requirePragma: true });
|
||||
runFormatTest(import.meta, ["html"], { insertPragma: true });
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1,2 +1,2 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
run_spec(import.meta, ["html"], { singleAttributePerLine: true });
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"], { singleAttributePerLine: true });
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1,2 +1,2 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
run_spec(import.meta, ["html"], { embeddedLanguageFormatting: "off" });
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"], { embeddedLanguageFormatting: "off" });
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1,5 +1,5 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
run_spec(import.meta, ["html"], { printWidth: 1 });
|
||||
run_spec(import.meta, ["html"], { printWidth: Number.POSITIVE_INFINITY });
|
||||
run_spec(import.meta, ["html"], { htmlWhitespaceSensitivity: "strict" });
|
||||
run_spec(import.meta, ["html"], { htmlWhitespaceSensitivity: "ignore" });
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"], { printWidth: 1 });
|
||||
runFormatTest(import.meta, ["html"], { printWidth: Number.POSITIVE_INFINITY });
|
||||
runFormatTest(import.meta, ["html"], { htmlWhitespaceSensitivity: "strict" });
|
||||
runFormatTest(import.meta, ["html"], { htmlWhitespaceSensitivity: "ignore" });
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
@@ -1,6 +1,6 @@
|
||||
import { outdent } from "outdent";
|
||||
|
||||
run_spec(
|
||||
runFormatTest(
|
||||
{
|
||||
importMeta: import.meta,
|
||||
snippets: [
|
||||
|
||||
@@ -1 +1 @@
|
||||
run_spec(import.meta, ["html"]);
|
||||
runFormatTest(import.meta, ["html"]);
|
||||
Reference in new issue
Block a user