From 0254b496eff69c47a0971496fe3f21f6a71585d3 Mon Sep 17 00:00:00 2001 From: Empa Date: Wed, 1 May 2024 09:47:37 +0200 Subject: [PATCH] Simplify block test --- tests/res/tests/exprs/block.saf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/res/tests/exprs/block.saf b/tests/res/tests/exprs/block.saf index 0e24b43..84f66cb 100644 --- a/tests/res/tests/exprs/block.saf +++ b/tests/res/tests/exprs/block.saf @@ -1,7 +1,6 @@ print({ 1 }); -print({ let x = 2; let y = x + 1; y }); +print({ let x = 2; x }); # output: # 1 -# 3 - +# 2