summaryrefslogtreecommitdiff
path: root/tests/testdata/run/error_for_await.ts.out
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/error_for_await.ts.out')
-rw-r--r--tests/testdata/run/error_for_await.ts.out10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/testdata/run/error_for_await.ts.out b/tests/testdata/run/error_for_await.ts.out
deleted file mode 100644
index db3cdecb4..000000000
--- a/tests/testdata/run/error_for_await.ts.out
+++ /dev/null
@@ -1,10 +0,0 @@
-[WILDCARD]
-error: TS1103 [ERROR]: 'for await' loops are only allowed within async functions and at the top levels of modules.
- for await (const event of httpConn) {
- ~~~~~
- at [WILDCARD]error_for_await.ts:9:7
-
-TS1356 [ERROR]: Did you mean to mark this function as 'async'?
- function handleConn(conn: Deno.Conn) {
- ~~~~~~~~~~
- at [WILDCARD]error_for_await.ts:7:10