diff options
Diffstat (limited to 'tests/character_reference.rs')
-rw-r--r-- | tests/character_reference.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/character_reference.rs b/tests/character_reference.rs index 2d5c6df..0d72fff 100644 --- a/tests/character_reference.rs +++ b/tests/character_reference.rs @@ -216,16 +216,16 @@ fn character_reference() -> Result<(), String> { ); assert_eq!( - to_mdast(" & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸", &ParseOptions::default())?, + to_mdast(" & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸\n# Ӓ Ϡ �\n" ആ ಫ", &ParseOptions::default())?, Node::Root(Root { children: vec![Node::Paragraph(Paragraph { children: vec![Node::Text(Text { - value: "\u{a0} & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸".into(), - position: Some(Position::new(1, 1, 0, 3, 33, 109)) + value: "\u{a0} & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸\n# Ӓ Ϡ �\n\" ആ ಫ".into(), + position: Some(Position::new(1, 1, 0, 5, 23, 158)) }),], - position: Some(Position::new(1, 1, 0, 3, 33, 109)) + position: Some(Position::new(1, 1, 0, 5, 23, 158)) })], - position: Some(Position::new(1, 1, 0, 3, 33, 109)) + position: Some(Position::new(1, 1, 0, 5, 23, 158)) }), "should support character references as `Text`s in mdast" ); |