From d7f8c60f933419b9fcfbba61a98d4613e90053aa Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Mon, 11 Feb 2019 16:31:33 +1100 Subject: [PATCH] Fix un-annotated test in types crate --- eth2/types/src/slot_epoch.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/eth2/types/src/slot_epoch.rs b/eth2/types/src/slot_epoch.rs index 36e0dc9cb..a810bb102 100644 --- a/eth2/types/src/slot_epoch.rs +++ b/eth2/types/src/slot_epoch.rs @@ -535,6 +535,7 @@ mod tests { assert_saturating_sub(1, 2, 0); } + #[test] fn saturating_add() { let assert_saturating_add = |a: u64, b: u64, result: u64| { assert_eq!($type(a).saturating_add($type(b)), $type(result));