mirror of https://github.com/astral-sh/ruff
Fix typo in infinite (#7614)
This commit is contained in:
parent
1a4f2a9baf
commit
e41b08f1d0
|
|
@ -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::<Vec<_>>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue