From 8d4323c83af4d39b0f1c6584a655fb73b47b530d Mon Sep 17 00:00:00 2001 From: IWANABETHATGUY Date: Tue, 3 Dec 2024 20:57:37 +0800 Subject: [PATCH] Update crates/oxc_transformer/src/jsx/jsx_impl.rs Co-authored-by: overlookmotel --- crates/oxc_transformer/src/jsx/jsx_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_transformer/src/jsx/jsx_impl.rs b/crates/oxc_transformer/src/jsx/jsx_impl.rs index 7e746d54dc009d..a23e9332881049 100644 --- a/crates/oxc_transformer/src/jsx/jsx_impl.rs +++ b/crates/oxc_transformer/src/jsx/jsx_impl.rs @@ -1122,7 +1122,7 @@ mod test { assert_eq!(member_expr.static_property_name(), Some("prop")); match member_expr.object() { Expression::MetaProperty(_) => {} - _ => panic!("Expected ThisExpression"), + _ => panic!("Expected MetaProperty"), } } }