mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-18 08:31:02 +00:00
Fix cfg on test_systemtime_overflow
This commit is contained in:
@@ -1524,7 +1524,7 @@ fn test_systemtime_overflow_struct() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(systemtime_checked_add)]
|
#[cfg(not(no_systemtime_checked_add))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_systemtime_overflow() {
|
fn test_systemtime_overflow() {
|
||||||
assert_de_tokens_error::<SystemTime>(
|
assert_de_tokens_error::<SystemTime>(
|
||||||
|
|||||||
Reference in New Issue
Block a user