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

Function test_fstring_constant_range

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

Source from the content-addressed store, hash-verified

982
983 #[test]
984 fn test_fstring_constant_range() {
985 let source = r#"f"aaa{bbb}ccc{ddd}eee""#;
986 let suite = parse_suite(source).unwrap();
987 insta::assert_debug_snapshot!(suite);
988 }
989
990 #[test]
991 fn test_fstring_unescaped_newline() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected