From e4100c7d89bd8928d74b63bfb9101def7cdf3b91 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sat, 25 Oct 2025 19:51:57 -0700 Subject: [PATCH] failing single line if test --- src/compiler/tests/compiler.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compiler/tests/compiler.test.ts b/src/compiler/tests/compiler.test.ts index 35da324..603a9eb 100644 --- a/src/compiler/tests/compiler.test.ts +++ b/src/compiler/tests/compiler.test.ts @@ -139,6 +139,10 @@ describe('compiler', () => { scattered end`).toEvaluateTo('dwarf') }) + + test('single line if', () => { + expect(`if 3 < 9: shire`).toEvaluateTo('shire') + }) }) describe('errors', () => {