about summary refs log tree commit diff
path: root/src/libcore/tests
diff options
context:
space:
mode:
authorАртём Павлов [Artyom Pavlov] <newpavlov@gmail.com>2018-11-19 01:01:06 +0300
committerАртём Павлов [Artyom Pavlov] <newpavlov@gmail.com>2018-11-19 01:01:06 +0300
commit6357021294614deebbcb3a1c9fbb64bb9aaa1a43 (patch)
tree55f4e1c9a36497fb5a9feb2f414d9e70acffb8c7 /src/libcore/tests
parent6ad61b9c3b07e47b225f1c8b155a9a64bd3a926b (diff)
downloadrust-6357021294614deebbcb3a1c9fbb64bb9aaa1a43.tar.gz
rust-6357021294614deebbcb3a1c9fbb64bb9aaa1a43.zip
fix test
Diffstat (limited to 'src/libcore/tests')
-rw-r--r--src/libcore/tests/iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/tests/iter.rs b/src/libcore/tests/iter.rs
index b9452e65ae3..ec09071b3d0 100644
--- a/src/libcore/tests/iter.rs
+++ b/src/libcore/tests/iter.rs
@@ -1622,7 +1622,7 @@ fn test_range_step() {
 fn test_step_by_skip() {
     assert_eq!((0..640).step_by(128).skip(1).collect::<Vec<_>>(), [128, 256, 384, 512]);
     assert_eq!((0..=50).step_by(10).nth(3), Some(30));
-    assert_eq!((250..=255u8).step_by(10).nth(3), Some(230));
+    assert_eq!((200..=255u8).step_by(10).nth(3), Some(230));
 }
 
 #[test]