aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mdx_expression_flow.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-12-13 12:16:51 +0400
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-12-13 12:16:51 +0400
commitb417a89d6c33649bfa3e6fa1b951cd2ad9803299 (patch)
tree19a63be8d14025ff042fb3ff6d931a5118b73487 /tests/mdx_expression_flow.rs
parentaf962122d2e063aabece64296bce004648802dfc (diff)
downloadmarkdown-rs-b417a89d6c33649bfa3e6fa1b951cd2ad9803299.tar.gz
markdown-rs-b417a89d6c33649bfa3e6fa1b951cd2ad9803299.tar.bz2
markdown-rs-b417a89d6c33649bfa3e6fa1b951cd2ad9803299.zip
Update tests for changes in `swc`
Diffstat (limited to 'tests/mdx_expression_flow.rs')
-rw-r--r--tests/mdx_expression_flow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mdx_expression_flow.rs b/tests/mdx_expression_flow.rs
index e549080..7bf39c4 100644
--- a/tests/mdx_expression_flow.rs
+++ b/tests/mdx_expression_flow.rs
@@ -245,7 +245,7 @@ fn mdx_expression_spread() -> Result<(), String> {
assert_eq!(
to_html_with_options("<a {...?} />", &swc).err().unwrap(),
- "1:13: Could not parse expression with swc: Unexpected token `?`. Expected this, import, async, function, [ for array literal, { for object literal, @ for decorator, function, class, null, true, false, number, bigint, string, regexp, ` for template literal, (, or an identifier",
+ "1:13: Could not parse expression with swc: Expression expected",
"should crash on an incorrect spread"
);