aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mdx_expression_text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mdx_expression_text.rs')
-rw-r--r--tests/mdx_expression_text.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mdx_expression_text.rs b/tests/mdx_expression_text.rs
index 0fccb0f..0d25105 100644
--- a/tests/mdx_expression_text.rs
+++ b/tests/mdx_expression_text.rs
@@ -138,7 +138,7 @@ fn mdx_expression_text_gnostic_core() -> Result<(), String> {
to_html_with_options("> a {\n> b\n> c} d", &swc)
.err()
.unwrap(),
- "3:3: Could not parse expression with swc: Unexpected content after expression",
+ "3:7: Could not parse expression with swc: Unexpected content after expression",
"should crash on incorrect expressions in containers (2)"
);
@@ -263,7 +263,7 @@ fn mdx_expression_text_gnostic() -> Result<(), String> {
assert_eq!(
to_html_with_options("a {b { c } d", &swc).err().unwrap(),
- "1:6: Could not parse expression with swc: Unexpected content after expression",
+ "1:13: Could not parse expression with swc: Unexpected content after expression",
"should crash if no closing brace is found (2)"
);