Remove JSON epoch test

This commit is contained in:
Paul Hauner 2019-09-02 16:29:05 +10:00
parent 70f4052b2e
commit 5a8c31e6bf
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF

View File

@ -191,16 +191,4 @@ mod epoch_tests {
Epoch::from_ssz_bytes(&max_epoch.as_ssz_bytes()).unwrap()
);
}
#[test]
fn epoch_max_value_json() {
let x: Epoch = Epoch::from(u64::max_value());
let json = serde_json::to_string(&x).expect("should json encode");
assert_eq!(&json, "18446744073709552000");
assert_eq!(
serde_json::from_str::<Epoch>(&json).expect("should json decode"),
x
);
}
}