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"), } } }