summaryrefslogtreecommitdiff
path: root/tests/specs/fmt/yaml/wrong_file_ignore.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/fmt/yaml/wrong_file_ignore.yaml')
-rw-r--r--tests/specs/fmt/yaml/wrong_file_ignore.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/specs/fmt/yaml/wrong_file_ignore.yaml b/tests/specs/fmt/yaml/wrong_file_ignore.yaml
new file mode 100644
index 000000000..8019d989d
--- /dev/null
+++ b/tests/specs/fmt/yaml/wrong_file_ignore.yaml
@@ -0,0 +1,5 @@
+# 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
+{{something crazy \ No newline at end of file