aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mdx_jsx_flow.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-09 13:17:59 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-09 13:17:59 +0200
commit118cc91fd56a9b4c93bec5b1cb4c5f25924d353e (patch)
tree3a33911c5b3f7da33919dfb48f1a0b8f8b46bb1b /tests/mdx_jsx_flow.rs
parentffef323d3c927f84e94cae21afeb541be7320f1c (diff)
downloadmarkdown-rs-118cc91fd56a9b4c93bec5b1cb4c5f25924d353e.tar.gz
markdown-rs-118cc91fd56a9b4c93bec5b1cb4c5f25924d353e.tar.bz2
markdown-rs-118cc91fd56a9b4c93bec5b1cb4c5f25924d353e.zip
Add mdx expression (flow, text)
Diffstat (limited to 'tests/mdx_jsx_flow.rs')
-rw-r--r--tests/mdx_jsx_flow.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mdx_jsx_flow.rs b/tests/mdx_jsx_flow.rs
index c9cd18d..ff53dcb 100644
--- a/tests/mdx_jsx_flow.rs
+++ b/tests/mdx_jsx_flow.rs
@@ -84,7 +84,7 @@ fn mdx_jsx_flow_essence() -> Result<(), String> {
assert_eq!(
micromark_with_options("> <X\n/>", &mdx).err().unwrap(),
- "2:1: Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
+ "2:1: Unexpected lazy line in jsx in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
"should not support lazy flow (1)"
);
@@ -92,7 +92,7 @@ fn mdx_jsx_flow_essence() -> Result<(), String> {
micromark_with_options("> a\n> <X\n/>", &mdx)
.err()
.unwrap(),
- "3:1: Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
+ "3:1: Unexpected lazy line in jsx in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
"should not support lazy flow (2)"
);
@@ -100,7 +100,7 @@ fn mdx_jsx_flow_essence() -> Result<(), String> {
micromark_with_options("> <a b='\nc'/> d", &mdx)
.err()
.unwrap(),
- "2:1: Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
+ "2:1: Unexpected lazy line in jsx in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
"should not support lazy flow (3)"
);
@@ -108,7 +108,7 @@ fn mdx_jsx_flow_essence() -> Result<(), String> {
micromark_with_options("> <a b='c\n'/> d", &mdx)
.err()
.unwrap(),
- "2:1: Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
+ "2:1: Unexpected lazy line in jsx in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
"should not support lazy flow (4)"
);
@@ -116,7 +116,7 @@ fn mdx_jsx_flow_essence() -> Result<(), String> {
micromark_with_options("> <a b='c\nd'/> e", &mdx)
.err()
.unwrap(),
- "2:1: Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
+ "2:1: Unexpected lazy line in jsx in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",
"should not support lazy flow (4)"
);