aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mdx_esm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mdx_esm.rs')
-rw-r--r--tests/mdx_esm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mdx_esm.rs b/tests/mdx_esm.rs
index 7176075..7f76663 100644
--- a/tests/mdx_esm.rs
+++ b/tests/mdx_esm.rs
@@ -120,7 +120,7 @@ fn mdx_esm() -> Result<(), String> {
to_html_with_options("import a from 'b'\n*md*?", &swc)
.err()
.unwrap(),
- "2:6: Could not parse esm 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",
+ "2:6: Could not parse esm with swc: Expression expected",
"should crash on markdown after import/export w/o blank line"
);