mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 02:12:22 +00:00
Fix typo in infinite (#7614)
This commit is contained in:
parent
1a4f2a9baf
commit
e41b08f1d0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// This test case is to just make sure that the lexer doesn't go into
|
||||||
// infinite loop on invalid input.
|
// infinite loop on invalid input.
|
||||||
#[test]
|
#[test]
|
||||||
fn test_infite_loop() {
|
fn test_infinite_loop() {
|
||||||
let source = "[1";
|
let source = "[1";
|
||||||
let _ = lex(source, Mode::Module).collect::<Vec<_>>();
|
let _ = lex(source, Mode::Module).collect::<Vec<_>>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue