MCPcopy Create free account
hub / github.com/astral-sh/ruff / test_fstring_escaped_character

Function test_fstring_escaped_character

crates/ruff_python_parser/src/string.rs:999–1003  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

997
998 #[test]
999 fn test_fstring_escaped_character() {
1000 let source = r#"f"\\{x}""#;
1001 let suite = parse_suite(source).unwrap();
1002 insta::assert_debug_snapshot!(suite);
1003 }
1004
1005 #[test]
1006 fn test_raw_fstring() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected