Skip to content

Commit

Permalink
fix notary server test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinui0 committed Feb 6, 2024
1 parent 056c5e6 commit c312e3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions notary-server/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ async fn test_tcp_prover<S: AsyncWrite + AsyncRead + Send + Unpin + 'static>(

let builder = prover.commitment_builder();

builder.commit_sent(0..sent_len).unwrap();
builder.commit_recv(0..recv_len).unwrap();
builder.commit_sent(&(0..sent_len)).unwrap();
builder.commit_recv(&(0..recv_len)).unwrap();

_ = prover.finalize().await.unwrap();

Expand Down Expand Up @@ -472,8 +472,8 @@ async fn test_websocket_prover() {

let builder = prover.commitment_builder();

builder.commit_sent(0..sent_len).unwrap();
builder.commit_recv(0..recv_len).unwrap();
builder.commit_sent(&(0..sent_len)).unwrap();
builder.commit_recv(&(0..recv_len)).unwrap();

_ = prover.finalize().await.unwrap();

Expand Down

0 comments on commit c312e3b

Please sign in to comment.