From 699137ecabe95a26d02e33a6e70f752397ec1aec Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Mon, 8 Jul 2024 17:07:35 +0200 Subject: [PATCH] tests: fix test case --- parser-ng/src/tokenizer/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser-ng/src/tokenizer/tests.rs b/parser-ng/src/tokenizer/tests.rs index 9edfcd695..02e51c35b 100644 --- a/parser-ng/src/tokenizer/tests.rs +++ b/parser-ng/src/tokenizer/tests.rs @@ -139,7 +139,7 @@ fn regexps() { assert_eq!(lexer.next_token(), None); let mut lexer = super::Tokenizer::new(r#"///"#.as_bytes()); - assert_eq!(lexer.next_token(), Some(Token::UNKNOWN(Span(0..3)))); + assert_eq!(lexer.next_token(), Some(Token::COMMENT(Span(0..3)))); assert_eq!(lexer.next_token(), None); }