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

Function test_parse_fstring

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

Source from the content-addressed store, hash-verified

570
571 #[test]
572 fn test_parse_fstring() {
573 let source = r#"f"{a}{ b }{{foo}}""#;
574 let suite = parse_suite(source).unwrap();
575 insta::assert_debug_snapshot!(suite);
576 }
577
578 #[test]
579 fn test_parse_fstring_nested_spec() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected