Skip to content

Commit 2138780

Browse files
Fix double negative "should_panic" in sha subair unit tests
1 parent a58f1c3 commit 2138780

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

crates/circuits/sha2-air/src/tests.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,19 +172,16 @@ fn negative_sha2_test_bad_final_hash<C: Sha2Config + 'static>() {
172172
}
173173

174174
#[test]
175-
#[should_panic]
176175
fn negative_sha256_test_bad_final_hash() {
177176
negative_sha2_test_bad_final_hash::<Sha256Config>();
178177
}
179178

180179
#[test]
181-
#[should_panic]
182180
fn negative_sha512_test_bad_final_hash() {
183181
negative_sha2_test_bad_final_hash::<Sha512Config>();
184182
}
185183

186184
#[test]
187-
#[should_panic]
188185
fn negative_sha384_test_bad_final_hash() {
189186
negative_sha2_test_bad_final_hash::<Sha384Config>();
190187
}

0 commit comments

Comments
 (0)