| 3678 | |
| 3679 | #[test] |
| 3680 | fn test_starred() { |
| 3681 | { |
| 3682 | let test_case = &"(*a)"; |
| 3683 | let mut parser = Parser::new(test_case); |
| 3684 | let program = parser.parse().expect("parsing failed"); |
| 3685 | |
| 3686 | insta::with_settings!({ |
| 3687 | description => test_case.to_string(), // the template source code |
| 3688 | snapshot_path => "../../test_data/output/", |
| 3689 | omit_expression => true // do not include the default expression |
| 3690 | }, { |
| 3691 | assert_debug_snapshot!(program); |
| 3692 | }); |
| 3693 | } |
| 3694 | } |
| 3695 | |
| 3696 | #[test] |
| 3697 | fn test_await_expression() { |