From cd95f48f771cad0245c339ada9dc4f16f01eba2f Mon Sep 17 00:00:00 2001 From: gluax Date: Fri, 21 May 2021 15:11:48 -0400 Subject: [PATCH] forgot to remove debug stmt, and regen tests --- parser/src/tokenizer/lexer.rs | 1 - tests/expectations/compiler/compiler/char/invalid_char.leo.out | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/parser/src/tokenizer/lexer.rs b/parser/src/tokenizer/lexer.rs index 86c3a30c25..b61c09ce51 100644 --- a/parser/src/tokenizer/lexer.rs +++ b/parser/src/tokenizer/lexer.rs @@ -96,7 +96,6 @@ impl Token { if hex { let string = input_tendril.to_string(); let hex_string = &string[2..string.len()]; - println!("hs {} l {}", hex_string, hex_string.len()); if hex_string.len() != 2 { return None; diff --git a/tests/expectations/compiler/compiler/char/invalid_char.leo.out b/tests/expectations/compiler/compiler/char/invalid_char.leo.out index ccb4ca5165..c529e663ae 100644 --- a/tests/expectations/compiler/compiler/char/invalid_char.leo.out +++ b/tests/expectations/compiler/compiler/char/invalid_char.leo.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - " --> compiler-test:4:25\n |\n 4 | const not_valid = '';\n | ^\n |\n = expected 'expression', got ';'" + - " --> compiler-test:4:23\n |\n 4 | const not_valid = '';\n | ^\n |\n = unexpected token: '''"