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

Function test_fstring_nested

crates/ruff_python_parser/src/lexer.rs:2473–2476  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2471
2472 #[test]
2473 fn test_fstring_nested() {
2474 let source = r#"f"foo {f"bar {x + f"{wow}"}"} baz" f'foo {f'bar'} some {f"another"}'"#;
2475 assert_snapshot!(lex_source(source));
2476 }
2477
2478 #[test]
2479 fn test_fstring_expression_multiline() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected