From d7a5586bc9ecd762c98c8483fb13d18893acd5ba Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 27 Mar 2024 14:11:18 -0400 Subject: [PATCH] Clean up --- dust-lang/src/parser.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dust-lang/src/parser.rs b/dust-lang/src/parser.rs index c2f7392..9acfcd0 100644 --- a/dust-lang/src/parser.rs +++ b/dust-lang/src/parser.rs @@ -709,11 +709,11 @@ mod tests { None, Expression::Value(ValueNode::Integer(42).with_position((6, 8))) )]) - .with_position((0, 9)) + .with_position((0, 10)) ), - Expression::Identifier(Identifier::new("x").with_position((10, 11))) + Expression::Identifier(Identifier::new("x").with_position((11, 12))) )) - .with_position((0, 11)) + .with_position((0, 12)) )) ); assert_eq!( @@ -877,15 +877,15 @@ mod tests { Box::new(MapIndex::new( Expression::Identifier(Identifier::new("io").with_position((0, 2))), Expression::Identifier( - Identifier::new("read_line").with_position((3, 13)) + Identifier::new("read_line").with_position((3, 12)) ) )) - .with_position((0, 13)) + .with_position((0, 12)) ), Vec::with_capacity(0), Vec::with_capacity(0), ) - .with_position((0, 15)) + .with_position((0, 14)) )) ) }