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:579–583  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

577
578 #[test]
579 fn test_parse_fstring_nested_spec() {
580 let source = r#"f"{foo:{spec}}""#;
581 let suite = parse_suite(source).unwrap();
582 insta::assert_debug_snapshot!(suite);
583 }
584
585 #[test]
586 fn parse_fstring_nested_spec_grows_stack() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected