diff --git a/noir/noir-repo/compiler/noirc_frontend/src/parser/parser/expression.rs b/noir/noir-repo/compiler/noirc_frontend/src/parser/parser/expression.rs index 4e83abcb8ab..cbc68fbd7c1 100644 --- a/noir/noir-repo/compiler/noirc_frontend/src/parser/parser/expression.rs +++ b/noir/noir-repo/compiler/noirc_frontend/src/parser/parser/expression.rs @@ -1025,7 +1025,7 @@ mod tests { fn parses_unclosed_parentheses() { let src = " ( - ^ + ^ "; let (src, span) = get_source_with_error_span(src); let mut parser = Parser::for_str(&src); @@ -1513,7 +1513,7 @@ mod tests { fn parses_cast_missing_type() { let src = " 1 as - ^ + ^ "; let (src, span) = get_source_with_error_span(src); let mut parser = Parser::for_str(&src);