From 6c18165a5eeaa4bdabc11c534ee2ff51a81d6cc8 Mon Sep 17 00:00:00 2001 From: Andrew Morris Date: Thu, 6 Jul 2023 11:49:18 +1000 Subject: [PATCH] Formatting --- inputs/passing/switch/evalOrder.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inputs/passing/switch/evalOrder.ts b/inputs/passing/switch/evalOrder.ts index 79e4c9a..ca39d89 100644 --- a/inputs/passing/switch/evalOrder.ts +++ b/inputs/passing/switch/evalOrder.ts @@ -1,14 +1,16 @@ //! test_output(["c1","c2","default"]) -export default function foo() { +export default function () { let logs = []; switch (0) { case logs.push("c1"): break; + default: logs.push("default"); break; + case logs.push("c2"): break; }