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

Function test_await_expression

parser/src/parser/parser.rs:3697–3711  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3695
3696 #[test]
3697 fn test_await_expression() {
3698 {
3699 let test_case = &"await a";
3700 let mut parser = Parser::new(test_case);
3701 let program = parser.parse().expect("parsing failed");
3702
3703 insta::with_settings!({
3704 description => test_case.to_string(), // the template source code
3705 snapshot_path => "../../test_data/output/",
3706 omit_expression => true // do not include the default expression
3707 }, {
3708 assert_debug_snapshot!(program);
3709 });
3710 }
3711 }
3712
3713 #[test]
3714 fn test_attribute_ref() {

Callers

nothing calls this directly

Calls 2

expectMethod · 0.80
parseMethod · 0.80

Tested by

no test coverage detected