Add should_panic to incomplete ef_tests

This commit is contained in:
Paul Hauner 2019-06-13 11:05:22 -04:00
parent 6099824cae
commit 4f43a67caf
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -98,6 +98,7 @@ fn operations_exit() {
} }
#[test] #[test]
#[should_panic]
fn operations_proposer_slashing() { fn operations_proposer_slashing() {
yaml_files_in_test_dir(&Path::new("operations").join("proposer_slashing")) yaml_files_in_test_dir(&Path::new("operations").join("proposer_slashing"))
.into_par_iter() .into_par_iter()
@ -107,6 +108,7 @@ fn operations_proposer_slashing() {
} }
#[test] #[test]
#[should_panic]
fn operations_attester_slashing() { fn operations_attester_slashing() {
yaml_files_in_test_dir(&Path::new("operations").join("attester_slashing")) yaml_files_in_test_dir(&Path::new("operations").join("attester_slashing"))
.into_par_iter() .into_par_iter()
@ -116,6 +118,7 @@ fn operations_attester_slashing() {
} }
#[test] #[test]
#[should_panic]
fn operations_attestation() { fn operations_attestation() {
yaml_files_in_test_dir(&Path::new("operations").join("attestation")) yaml_files_in_test_dir(&Path::new("operations").join("attestation"))
.into_par_iter() .into_par_iter()
@ -134,6 +137,7 @@ fn operations_block_header() {
} }
#[test] #[test]
#[should_panic]
fn sanity_blocks() { fn sanity_blocks() {
yaml_files_in_test_dir(&Path::new("sanity").join("blocks")) yaml_files_in_test_dir(&Path::new("sanity").join("blocks"))
.into_par_iter() .into_par_iter()