You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
494 B
14 lines
494 B
4 years ago
|
diff --git a/src/types/timestamp.rs b/src/types/timestamp.rs
|
||
|
index c253efb..aeae1ab 100644
|
||
|
--- a/src/types/timestamp.rs
|
||
|
+++ b/src/types/timestamp.rs
|
||
|
@@ -682,7 +682,7 @@ mod tests {
|
||
|
UNIX_EPOCH + SystemDuration::new(i32::MAX as u64, 0));
|
||
|
|
||
|
let t3 = Timestamp::from(i32::MAX as u32 - 1);
|
||
|
- assert!(SystemTime::from(t3),
|
||
|
+ assert_eq!(SystemTime::from(t3),
|
||
|
UNIX_EPOCH + SystemDuration::new(i32::MAX as u64 - 1, 0));
|
||
|
Ok(())
|
||
|
}
|