From db94fbdb5b2d0d8ad1925ff033676c772601b0a6 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 1 Jul 2024 18:52:54 -0400 Subject: [PATCH] Fix test --- dust-lang/src/parser/tests.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dust-lang/src/parser/tests.rs b/dust-lang/src/parser/tests.rs index 93dfb23..aaba9cc 100644 --- a/dust-lang/src/parser/tests.rs +++ b/dust-lang/src/parser/tests.rs @@ -820,8 +820,8 @@ fn block() { parse( &lex(" { - x; - y; + x + y z } ") @@ -834,13 +834,13 @@ fn block() { Identifier::new("x").with_position((39, 40)) )), Statement::Expression(Expression::Identifier( - Identifier::new("y").with_position((62, 63)) + Identifier::new("y").with_position((61, 62)) )), Statement::Expression(Expression::Identifier( - Identifier::new("z").with_position((85, 86)) + Identifier::new("z").with_position((83, 84)) )), ]) - .with_position((17, 104)), + .with_position((17, 102)), ) );