Skip to content

Commit

Permalink
Fix incorrect test in time::tests::system_time_math.
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Sep 3, 2017
1 parent abc11c3 commit ef8c204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/time/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ mod tests {
let dur = dur.duration();
assert!(a > b);
assert_almost_eq!(b + dur, a);
assert_almost_eq!(b - dur, a);
assert_almost_eq!(a - dur, b);
}
}

Expand Down

0 comments on commit ef8c204

Please sign in to comment.