Skip to content

Commit

Permalink
Fix up formatting and remove debug/test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
brogdonm committed Oct 9, 2024
1 parent 4a9af2c commit af1175a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sdk/src/assertions/box_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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");

}
}

0 comments on commit af1175a

Please sign in to comment.