aboutsummaryrefslogtreecommitdiffstats
path: root/tests/math_flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/math_flow.rs')
-rw-r--r--tests/math_flow.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/math_flow.rs b/tests/math_flow.rs
index 4665eef..1cf0f65 100644
--- a/tests/math_flow.rs
+++ b/tests/math_flow.rs
@@ -260,8 +260,8 @@ fn math_flow() -> Result<(), String> {
micromark_to_mdast("$$extra\nabc\ndef\n$$", &math.parse)?,
Node::Root(Root {
children: vec![Node::Math(Math {
- meta: Some("extra".to_string()),
- value: "abc\ndef".to_string(),
+ meta: Some("extra".into()),
+ value: "abc\ndef".into(),
position: Some(Position::new(1, 1, 0, 4, 3, 18))
})],
position: Some(Position::new(1, 1, 0, 4, 3, 18))