From af1175aa55068f9d481ff7aa63bd3fd6534d5821 Mon Sep 17 00:00:00 2001 From: Michael Brogdon Date: Wed, 9 Oct 2024 00:08:52 -0600 Subject: [PATCH] Fix up formatting and remove debug/test code. --- sdk/src/assertions/box_hash.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdk/src/assertions/box_hash.rs b/sdk/src/assertions/box_hash.rs index d8c94bb68..1b4bce91c 100644 --- a/sdk/src/assertions/box_hash.rs +++ b/sdk/src/assertions/box_hash.rs @@ -483,7 +483,6 @@ mod tests { #[test] fn test_with_no_box_hashes_after_c2pa() { - //cargo.exe test --package c2pa --lib -- assertions::box_hash::tests::test_with_no_box_hashes_after_c2pa --exact --show-output // Algorithm to use let alg = "sha256"; // Create a mock object @@ -508,7 +507,7 @@ mod tests { pad: ByteBuf::from(vec![]), range_start: 10, range_len: 10, - } + }, ]) }); // The data size must match what we return in the expectation @@ -529,7 +528,6 @@ mod tests { #[test] fn test_with_no_box_hashes_before_c2pa() { - //cargo.exe test --package c2pa --lib -- assertions::box_hash::tests::test_with_no_box_hashes_before_c2pa --exact --show-output // Algorithm to use let alg = "sha256"; // Create a mock object @@ -575,7 +573,6 @@ mod tests { #[test] fn test_with_no_box_hashes_before_and_after_c2pa() { - //cargo.exe test --package c2pa --lib -- assertions::box_hash::tests::test_with_no_box_hashes_before_c2pa --exact --show-output // Algorithm to use let alg = "sha256"; // Create a mock object @@ -626,6 +623,5 @@ mod tests { assert_eq!(bh.boxes[0].names[0], "test"); assert_eq!(bh.boxes[1].names[0], "C2PA"); assert_eq!(bh.boxes[2].names[0], "test1"); - } }