aboutsummaryrefslogtreecommitdiffstats
path: root/tests/character_escape.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/character_escape.rs')
-rw-r--r--tests/character_escape.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/character_escape.rs b/tests/character_escape.rs
index 54944aa..c5c9004 100644
--- a/tests/character_escape.rs
+++ b/tests/character_escape.rs
@@ -109,7 +109,7 @@ fn character_escape() -> Result<(), String> {
Node::Root(Root {
children: vec![Node::Paragraph(Paragraph {
children: vec![Node::Text(Text {
- value: "a * b".to_string(),
+ value: "a * b".into(),
position: Some(Position::new(1, 1, 0, 1, 7, 6))
}),],
position: Some(Position::new(1, 1, 0, 1, 7, 6))