mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-04-01 05:45:20 +01:00
Update iterators3.rs
This commit is contained in:
parent
edcf19da0d
commit
b99e942ef2
1 changed files with 2 additions and 2 deletions
|
@ -72,11 +72,11 @@ mod tests {
|
|||
Err(DivisionError::NotDivisible)
|
||||
);
|
||||
assert_eq!(
|
||||
result_with_list(vec![27, 297, 38502, 28], 0),
|
||||
result_with_list(vec![27, 297, 38502, 81], 0),
|
||||
Err(DivisionError::DivideByZero)
|
||||
);
|
||||
assert_eq!(
|
||||
result_with_list(vec![27, 297, i64::MIN, 28], -1),
|
||||
result_with_list(vec![27, 297, i64::MIN, 81], -1),
|
||||
Err(DivisionError::IntegerOverflow)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue