aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/increment
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/increment')
-rw-r--r--helix-core/src/increment/date_time.rs2
-rw-r--r--helix-core/src/increment/number.rs10
2 files changed, 6 insertions, 6 deletions
diff --git a/helix-core/src/increment/date_time.rs b/helix-core/src/increment/date_time.rs
index 1703c3ba..91fa5963 100644
--- a/helix-core/src/increment/date_time.rs
+++ b/helix-core/src/increment/date_time.rs
@@ -451,7 +451,7 @@ mod test {
.unwrap()
.increment(amount)
.1,
- expected.into()
+ Tendril::from(expected)
);
}
}
diff --git a/helix-core/src/increment/number.rs b/helix-core/src/increment/number.rs
index a19b7e75..57171f67 100644
--- a/helix-core/src/increment/number.rs
+++ b/helix-core/src/increment/number.rs
@@ -371,7 +371,7 @@ mod test {
.unwrap()
.increment(amount)
.1,
- expected.into()
+ Tendril::from(expected)
);
}
}
@@ -398,7 +398,7 @@ mod test {
.unwrap()
.increment(amount)
.1,
- expected.into()
+ Tendril::from(expected)
);
}
}
@@ -426,7 +426,7 @@ mod test {
.unwrap()
.increment(amount)
.1,
- expected.into()
+ Tendril::from(expected)
);
}
}
@@ -472,7 +472,7 @@ mod test {
.unwrap()
.increment(amount)
.1,
- expected.into()
+ Tendril::from(expected)
);
}
}
@@ -500,7 +500,7 @@ mod test {
.unwrap()
.increment(amount)
.1,
- expected.into()
+ Tendril::from(expected)
);
}
}