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

Function test_fstring_escaped_newline

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

Source from the content-addressed store, hash-verified

975
976 #[test]
977 fn test_fstring_escaped_newline() {
978 let source = r#"f"\n{x}""#;
979 let suite = parse_suite(source).unwrap();
980 insta::assert_debug_snapshot!(suite);
981 }
982
983 #[test]
984 fn test_fstring_constant_range() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected