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

Function test_expr_mode_valid_syntax

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

Source from the content-addressed store, hash-verified

45
46#[test]
47fn test_expr_mode_valid_syntax() {
48 let source = "first
49
50";
51 let parsed = parse_expression(source).unwrap();
52
53 insta::assert_debug_snapshot!(parsed.expr());
54}
55
56#[test]
57fn test_unicode_aliases() {

Callers

nothing calls this directly

Calls 1

parse_expressionFunction · 0.85

Tested by

no test coverage detected