From 532a854f8efbb313c75ec236acd74a283290ede3 Mon Sep 17 00:00:00 2001 From: mehdi Date: Wed, 20 Feb 2019 15:30:58 +1100 Subject: [PATCH] Fixing minor bug in assert statement --- eth2/utils/ssz/fuzz/fuzz_targets/fuzz_target_u8.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth2/utils/ssz/fuzz/fuzz_targets/fuzz_target_u8.rs b/eth2/utils/ssz/fuzz/fuzz_targets/fuzz_target_u8.rs index afab5eab5..0320b7c10 100644 --- a/eth2/utils/ssz/fuzz/fuzz_targets/fuzz_target_u8.rs +++ b/eth2/utils/ssz/fuzz/fuzz_targets/fuzz_target_u8.rs @@ -11,7 +11,7 @@ fuzz_target!(|data: &[u8]| { // Should have valid result let (number_u8, index) = result.unwrap(); assert_eq!(number_u8, data[0]); - assert_eq!(index, 2); + assert_eq!(index, 1); } else { // Length of 0 should return error assert_eq!(result, Err(DecodeError::TooShort));