From b417a89d6c33649bfa3e6fa1b951cd2ad9803299 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 13 Dec 2022 12:16:51 +0400 Subject: Update tests for changes in `swc` --- tests/mdx_expression_flow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mdx_expression_flow.rs') 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("", &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" ); -- cgit