aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mdx_expression_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_expression_text.rs
parent7f06d55d84db512cc9b1eee0ef23db2d7bf30214 (diff)
downloadmarkdown-rs-53173e52b151537ad8510da5e7802f342d24a372.tar.gz
markdown-rs-53173e52b151537ad8510da5e7802f342d24a372.tar.bz2
markdown-rs-53173e52b151537ad8510da5e7802f342d24a372.zip
Remove unneeded tests
Diffstat (limited to '')
-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)"
);