summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/byte_order_mark.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-08-16 09:28:29 +0200
committerGitHub <noreply@github.com>2021-08-16 09:28:29 +0200
commit163f2ef57117afd410f03be7e7519fc89bd18173 (patch)
tree03080b2306927efbb2af64869b418c009abd92f5 /cli/tests/testdata/byte_order_mark.ts
parent02b23e057561f11daf004b4ed8d455081dbeac65 (diff)
fix: parse error when transpiling code with BOM (#11688)
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'cli/tests/testdata/byte_order_mark.ts')
-rw-r--r--cli/tests/testdata/byte_order_mark.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/byte_order_mark.ts b/cli/tests/testdata/byte_order_mark.ts
new file mode 100644
index 000000000..40eb23c1d
--- /dev/null
+++ b/cli/tests/testdata/byte_order_mark.ts
@@ -0,0 +1,4 @@
+import "./001_hello.js";
+// Note this file starts with special byte order mark <U+FEFF>
+// it's important that this file is a .ts typescript file which is passed to
+// deno through `--no-check` mode.