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

Function test_fstring

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

Source from the content-addressed store, hash-verified

2359
2360 #[test]
2361 fn test_fstring() {
2362 let source = r#"f"normal {foo} {{another}} {bar} {{{three}}}""#;
2363 assert_snapshot!(lex_source(source));
2364 }
2365
2366 #[test]
2367 fn test_fstring_parentheses() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected