Skip to content

Commit e0faf39

Browse files
committed
Limit percentage round-trip test to 100%
1 parent 9339ddd commit e0faf39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,9 @@ fn roundtrip_percentage_token() {
12611261
// Test simple number serialization
12621262
for i in 0..101 {
12631263
test_roundtrip(&format!("{}%", i));
1264+
if i == 100 {
1265+
break;
1266+
}
12641267
for j in 0..10 {
12651268
if j != 0 {
12661269
test_roundtrip(&format!("{}.{}%", i, j));

0 commit comments

Comments
 (0)