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

Function test_parse_fstring_nested_spec

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

Source from the content-addressed store, hash-verified

582
583 #[test]
584 fn test_parse_fstring_nested_spec() {
585 let source = r#"f"{foo:{spec}}""#;
586 let suite = parse_suite(source).unwrap();
587 insta::assert_debug_snapshot!(suite);
588 }
589
590 #[test]
591 fn parse_fstring_nested_spec_grows_stack() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected