mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 13:33:50 +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
|
||||
// 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…
Add table
Add a link
Reference in a new issue