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

Function test_parse_fstring

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

Source from the content-addressed store, hash-verified

575
576 #[test]
577 fn test_parse_fstring() {
578 let source = r#"f"{a}{ b }{{foo}}""#;
579 let suite = parse_suite(source).unwrap();
580 insta::assert_debug_snapshot!(suite);
581 }
582
583 #[test]
584 fn test_parse_fstring_nested_spec() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected