summaryrefslogtreecommitdiff
path: root/tests/specs/fmt/sql/wrong_file_ignore.sql
diff options
context:
space:
mode:
authorBartek Iwańczuk <biwanczuk@gmail.com>2024-11-20 00:18:57 +0100
committerBartek Iwańczuk <biwanczuk@gmail.com>2024-11-20 00:18:57 +0100
commit21bd818f1ee531a49c46213417774fbc18a8b562 (patch)
treeea32c744f0fd1932f7a505892e43846a73823fbd /tests/specs/fmt/sql/wrong_file_ignore.sql
parent6356329b37282178701c0064a4a2cd04286a51e7 (diff)
parent46b6037644c761369e689704f8e7b857959da155 (diff)
Merge branch 'main' into haturatu/main
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