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

Function test_fstring_line_continuation

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

Source from the content-addressed store, hash-verified

1018
1019 #[test]
1020 fn test_fstring_line_continuation() {
1021 let source = r#"rf"\
1022{x}""#;
1023 let suite = parse_suite(source).unwrap();
1024 insta::assert_debug_snapshot!(suite);
1025 }
1026
1027 #[test]
1028 fn test_parse_fstring_nested_string_spec() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected