summaryrefslogtreecommitdiff
path: root/tests/specs/fmt/sql/wrong_file_ignore.sql
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/fmt/sql/wrong_file_ignore.sql')
-rw-r--r--tests/specs/fmt/sql/wrong_file_ignore.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/specs/fmt/sql/wrong_file_ignore.sql b/tests/specs/fmt/sql/wrong_file_ignore.sql
new file mode 100644
index 000000000..c124855dc
--- /dev/null
+++ b/tests/specs/fmt/sql/wrong_file_ignore.sql
@@ -0,0 +1,6 @@
+-- File ignore directive only works if it's in the first cluster
+-- of comment, ie. there are no empty lines after the first n-leading lines.
+
+-- deno-fmt-ignore-file
+
+ foo \ No newline at end of file