Skip to content

Commit

Permalink
Update error message assertion
Browse files Browse the repository at this point in the history
Use the updated message for the expected error variant.
  • Loading branch information
jvff committed Oct 5, 2021
1 parent 8001414 commit de5cf1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zebra-consensus/src/transaction/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,8 @@ async fn v5_transaction_with_transparent_transfer_is_rejected_by_the_script() {
assert_eq!(
result,
Err(TransactionError::InternalDowncastError(
"downcast to redjubjub::Error failed, original error: ScriptInvalid".to_string()
"downcast to known transaction error type failed, original error: ScriptInvalid"
.to_string()
))
);
}
Expand Down

0 comments on commit de5cf1e

Please sign in to comment.