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

Function test_tstring_fstring_middle

crates/ruff_python_parser/src/parser/tests.rs:323–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

321
322#[test]
323fn test_tstring_fstring_middle() {
324 let source = "t'{:{F'{\0}F";
325 let parsed = parse_expression(source);
326
327 let error = parsed.unwrap_err();
328
329 insta::assert_debug_snapshot!(error);
330}
331
332#[test]
333fn test_tstring_fstring_middle_fuzzer() {

Callers

nothing calls this directly

Calls 1

parse_expressionFunction · 0.85

Tested by

no test coverage detected