Skip to content

Commit 6357021

Browse files
committed
fix test
1 parent 6ad61b9 commit 6357021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/tests/iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ fn test_range_step() {
16221622
fn test_step_by_skip() {
16231623
assert_eq!((0..640).step_by(128).skip(1).collect::<Vec<_>>(), [128, 256, 384, 512]);
16241624
assert_eq!((0..=50).step_by(10).nth(3), Some(30));
1625-
assert_eq!((250..=255u8).step_by(10).nth(3), Some(230));
1625+
assert_eq!((200..=255u8).step_by(10).nth(3), Some(230));
16261626
}
16271627

16281628
#[test]

0 commit comments

Comments
 (0)