Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anorth committed Aug 31, 2022
1 parent 8dd3906 commit c7cabb0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion actors/multisig/tests/multisig_actor_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ mod constructor_tests {
);
rt.set_caller(*INIT_ACTOR_CODE_ID, *INIT_ACTOR_ADDR);
expect_abort(
ExitCode::USR_ILLEGAL_STATE,
ExitCode::USR_ILLEGAL_ARGUMENT,
rt.call::<MultisigActor>(
Method::Constructor as u64,
&RawBytes::serialize(&params).unwrap(),
Expand Down
4 changes: 2 additions & 2 deletions actors/paych/tests/paych_actor_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ mod paych_constructor {
&mut rt,
METHOD_CONSTRUCTOR,
&RawBytes::serialize(&params).unwrap(),
ExitCode::USR_ILLEGAL_STATE,
ExitCode::USR_ILLEGAL_ARGUMENT,
);
}

Expand Down Expand Up @@ -267,7 +267,7 @@ mod paych_constructor {
&mut rt,
METHOD_CONSTRUCTOR,
&RawBytes::serialize(&params).unwrap(),
ExitCode::USR_ILLEGAL_STATE,
ExitCode::USR_ILLEGAL_ARGUMENT,
);
}
}
Expand Down
4 changes: 2 additions & 2 deletions actors/verifreg/tests/verifreg_actor_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ mod verifiers {
ExitCode::OK,
);
expect_abort(
ExitCode::USR_ILLEGAL_STATE,
ExitCode::USR_ILLEGAL_ARGUMENT,
h.add_verifier(&mut rt, &verifier_key_address, &allowance),
);
h.check_state(&rt);
Expand Down Expand Up @@ -335,7 +335,7 @@ mod clients {
);

expect_abort(
ExitCode::USR_ILLEGAL_STATE,
ExitCode::USR_ILLEGAL_ARGUMENT,
h.add_client(&mut rt, &VERIFIER, &client, &allowance_client, &allowance_client),
);
h.check_state(&rt);
Expand Down

0 comments on commit c7cabb0

Please sign in to comment.