diff --git a/crates/ruff_python_parser/src/lexer.rs b/crates/ruff_python_parser/src/lexer.rs index fca0ba5b90..9600e0190f 100644 --- a/crates/ruff_python_parser/src/lexer.rs +++ b/crates/ruff_python_parser/src/lexer.rs @@ -1656,7 +1656,7 @@ def f(arg=%timeit a = b): // This test case is to just make sure that the lexer doesn't go into // infinite loop on invalid input. #[test] - fn test_infite_loop() { + fn test_infinite_loop() { let source = "[1"; let _ = lex(source, Mode::Module).collect::>(); }