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 7, 2017
1 parent 8410ca6 commit 7560265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/time/mod.rs
Expand Up @@ -509,7 +509,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 7560265

Please sign in to comment.