aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mdx_jsx_text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mdx_jsx_text.rs')
-rw-r--r--tests/mdx_jsx_text.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mdx_jsx_text.rs b/tests/mdx_jsx_text.rs
index 0520ad2..e403e6d 100644
--- a/tests/mdx_jsx_text.rs
+++ b/tests/mdx_jsx_text.rs
@@ -608,7 +608,7 @@ fn mdx_jsx_text_gnostic() -> Result<(), String> {
to_html_with_options("a <b{c=d}={}/> f", &swc)
.err()
.unwrap(),
- "1:6: Expected a single spread value, such as `...x`",
+ "1:6: Unexpected prop in spread (such as `{x}`): only a spread is supported (such as `{...x}`)",
"should crash on invalid JS in an attribute expression (2)"
);