diff --git a/tests/blob_test.rs b/tests/blob_test.rs index 548eda1..641185e 100644 --- a/tests/blob_test.rs +++ b/tests/blob_test.rs @@ -19,17 +19,17 @@ mod tests { #[test] fn test_is_empty() { - let mut blob_empty = Blob::from_bytes_and_pad("".as_bytes()); + let blob_empty = Blob::from_bytes_and_pad("".as_bytes()); assert!(blob_empty.is_empty(), "blob should be empty"); - let mut blob = Blob::from_bytes_and_pad("hi".as_bytes()); + let blob = Blob::from_bytes_and_pad("hi".as_bytes()); assert!(!blob.is_empty(), "blob should not be empty"); } #[test] fn test_from_padded_bytes_unchecked() { - let mut blob = Blob::from_bytes_and_pad("hi".as_bytes()); - let mut blob_unchecked = Blob::from_padded_bytes_unchecked(blob.get_blob_data().as_slice()); + let blob = Blob::from_bytes_and_pad("hi".as_bytes()); + let blob_unchecked = Blob::from_padded_bytes_unchecked(blob.get_blob_data().as_slice()); assert_eq!(blob, blob_unchecked, "blob should be equal"); } diff --git a/tests/polynomial_test.rs b/tests/polynomial_test.rs index 21c7dfd..b3fb286 100644 --- a/tests/polynomial_test.rs +++ b/tests/polynomial_test.rs @@ -72,7 +72,7 @@ mod tests { #[test] fn test_transform_form() { - let mut blob = Blob::from_bytes_and_pad( + let blob = Blob::from_bytes_and_pad( vec![ 42, 212, 238, 227, 192, 237, 178, 128, 19, 108, 50, 204, 87, 81, 63, 120, 232, 27, 116, 108, 74, 168, 109, 84, 89, 9, 6, 233, 144, 200, 125, 40, @@ -112,7 +112,7 @@ mod tests { "start and finish bytes should be the same" ); - let mut long_blob = Blob::from_bytes_and_pad(GETTYSBURG_ADDRESS_BYTES); + let long_blob = Blob::from_bytes_and_pad(GETTYSBURG_ADDRESS_BYTES); let mut long_poly = long_blob .to_polynomial(PolynomialFormat::InCoefficientForm) .unwrap();