Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Oct 30, 2023
1 parent d660269 commit 39d6ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff_python_parser/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -885,10 +885,10 @@ mod tests {
insta::assert_debug_snapshot!(parse_ast);
}

/// https://github.com/astral-sh/ruff/issues/8355
/// <https://github.com/astral-sh/ruff/issues/8355>
#[test]
fn test_dont_panic_on_8_in_octal_escape() {
let source = r#"bold = '\038[1m'"#;
let source = r"bold = '\038[1m'";
let parse_ast = parse_suite(source, "<test>").unwrap();

insta::assert_debug_snapshot!(parse_ast);
Expand Down

0 comments on commit 39d6ecd

Please sign in to comment.