Skip to content

Commit 290736a

Browse files
committed
Improve test
1 parent ea9db0e commit 290736a

File tree

2 files changed

+45
-5
lines changed

2 files changed

+45
-5
lines changed

compiler/parser/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ with (0 as a, 1 as b,): pass
312312

313313
#[test]
314314
fn test_dict_containing_spread() {
315-
let parse_ast = parse_expression(r#"{"k": "v", **d}"#, "<test>").unwrap();
315+
let parse_ast = parse_expression(r#"{"a": "b", **c, "d": "e"}"#, "<test>").unwrap();
316316
insta::assert_debug_snapshot!(parse_ast);
317317
}
318318
}

compiler/parser/src/snapshots/rustpython_parser__parser__tests__dict_containing_spread.snap

Lines changed: 44 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)