From adfb5c82fafd2dbb01e4eced28dead01b61b05a2 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 16 Apr 2020 01:26:34 +0200 Subject: [PATCH] Fix unreadable literals --- src/r0/contact/get_contacts.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/r0/contact/get_contacts.rs b/src/r0/contact/get_contacts.rs index f033ce10..d9fbf68e 100644 --- a/src/r0/contact/get_contacts.rs +++ b/src/r0/contact/get_contacts.rs @@ -58,15 +58,15 @@ mod tests { let third_party_id = ThirdPartyIdentifier { address: "monkey@banana.island".into(), medium: Medium::Email, - validated_at: UNIX_EPOCH + Duration::from_millis(1535176800000), - added_at: UNIX_EPOCH + Duration::from_millis(1535336848756), + validated_at: UNIX_EPOCH + Duration::from_millis(1_535_176_800_000), + added_at: UNIX_EPOCH + Duration::from_millis(1_535_336_848_756), }; let third_party_id_serialized = json!({ "medium": "email", "address": "monkey@banana.island", - "validated_at": 1535176800000u64, - "added_at": 1535336848756u64 + "validated_at": 1_535_176_800_000u64, + "added_at": 1_535_336_848_756u64 }); assert_eq!(