MCPcopy Create free account
hub / github.com/Glyphack/enderpy / test_starred

Function test_starred

parser/src/parser/parser.rs:3680–3694  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

expectMethod · 0.80
parseMethod · 0.80

Tested by

no test coverage detected