aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mdx_jsx_text.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-11-25 12:36:15 +0100
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-11-25 12:36:15 +0100
commit53173e52b151537ad8510da5e7802f342d24a372 (patch)
treed904053e6679d0a89db7affa8a9b20f160a26d65 /tests/mdx_jsx_text.rs
parent7f06d55d84db512cc9b1eee0ef23db2d7bf30214 (diff)
downloadmarkdown-rs-53173e52b151537ad8510da5e7802f342d24a372.tar.gz
markdown-rs-53173e52b151537ad8510da5e7802f342d24a372.tar.bz2
markdown-rs-53173e52b151537ad8510da5e7802f342d24a372.zip
Remove unneeded tests
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)"
);