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', () => {