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

Function test_parse_fstring

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

Source from the content-addressed store, hash-verified

589
590 #[test]
591 fn test_parse_fstring() {
592 let source = r#"f"{a}{ b }{{foo}}""#;
593 let suite = parse_suite(source).unwrap();
594 insta::assert_debug_snapshot!(suite);
595 }
596
597 #[test]
598 fn test_parse_fstring_nested_spec() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected