From 56f1222cfce793889c761e8ef31766706e99d386 Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 18 Sep 2024 08:29:00 -0400 Subject: [PATCH] Fix block test --- dust-lang/src/parser/tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dust-lang/src/parser/tests.rs b/dust-lang/src/parser/tests.rs index e4501c6..493f4ca 100644 --- a/dust-lang/src/parser/tests.rs +++ b/dust-lang/src/parser/tests.rs @@ -46,8 +46,10 @@ fn block_scope() { (Instruction::declare_local(1, 1), Span(46, 47)), (Instruction::load_constant(2, 2), Span(92, 93)), (Instruction::declare_local(2, 2), Span(88, 89)), + (Instruction::close(2, 3), Span(84, 124)), (Instruction::load_constant(3, 3), Span(129, 130)), (Instruction::declare_local(3, 3), Span(125, 126)), + (Instruction::close(1, 4), Span(42, 153)), (Instruction::load_constant(4, 4), Span(158, 159)), (Instruction::declare_local(4, 4), Span(154, 155)), ],