Skip to content

Commit

Permalink
wrap() to expect() for vote creation in test_view_sync_task
Browse files Browse the repository at this point in the history
  • Loading branch information
dailinsubjam committed Dec 21, 2023
1 parent 27794d0 commit 3a2dc7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/testing/tests/view_sync_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async fn test_view_sync_task() {
hotshot_types::traits::consensus_api::ConsensusSharedApi::public_key(&api),
hotshot_types::traits::consensus_api::ConsensusSharedApi::private_key(&api),
)
.unwrap();
.expect("Should be able to create a ViewSyncPreCommitVote.");

tracing::error!("Vote in test is {:?}", vote.clone());

Expand Down

0 comments on commit 3a2dc7a

Please sign in to comment.