summaryrefslogtreecommitdiff
path: root/tests/async_error.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2018-08-17 00:28:02 +0900
committerRyan Dahl <ry@tinyclouds.org>2018-08-17 12:43:21 -0400
commit565a21eb0eee61048f6f770bfb24a03131fbc958 (patch)
treeb27ab704ef8ed6b77a74b62d8697588ad8f862b9 /tests/async_error.ts
parent87a061785e7ac795b9b3ef262d382dbfe6887eda (diff)
chore: format files in tests/
Diffstat (limited to 'tests/async_error.ts')
-rw-r--r--tests/async_error.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/async_error.ts b/tests/async_error.ts
index 12dee11eb..7ce25d0cb 100644
--- a/tests/async_error.ts
+++ b/tests/async_error.ts
@@ -1,9 +1,8 @@
-
console.log("hello");
const foo = async () => {
console.log("before error");
throw Error("error");
-}
+};
foo();
console.log("world");