mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 08:34:29 -05:00
Fix typo in infinite (#7614)
This commit is contained in:
committed by
GitHub
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<_>>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user