Skip to content

Commit 7860e58

Browse files
committed
test: add to_lean_string test for String to improve codecov
1 parent e4d7763 commit 7860e58

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/property.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,9 @@ fn bool_to_lean_string() {
139139
fn char_to_lean_string(c: char) {
140140
prop_assert_eq!(c.to_lean_string(), c.to_string());
141141
}
142+
143+
#[property_test]
144+
#[cfg_attr(miri, ignore)]
145+
fn string_to_lean_string(s: String) {
146+
prop_assert_eq!(s.to_lean_string(), s);
147+
}

0 commit comments

Comments
 (0)