Merge pull request #991 from Marwes/test_systemtime
Fix SystemTime serialization test on Windows
This commit is contained in:
commit
1c2a4bff1c
@ -331,13 +331,13 @@ declare_tests! {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
test_system_time {
|
test_system_time {
|
||||||
UNIX_EPOCH + Duration::new(1, 2) => &[
|
UNIX_EPOCH + Duration::new(1, 200) => &[
|
||||||
Token::Struct { name: "SystemTime", len: 2 },
|
Token::Struct { name: "SystemTime", len: 2 },
|
||||||
Token::Str("secs_since_epoch"),
|
Token::Str("secs_since_epoch"),
|
||||||
Token::U64(1),
|
Token::U64(1),
|
||||||
|
|
||||||
Token::Str("nanos_since_epoch"),
|
Token::Str("nanos_since_epoch"),
|
||||||
Token::U32(2),
|
Token::U32(200),
|
||||||
Token::StructEnd,
|
Token::StructEnd,
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user