Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinPostma committed Nov 23, 2023
1 parent 42b1a56 commit 2af6c8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libsql-replication/src/replicator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,12 +732,14 @@ mod test {
replicator.try_replicate_step().await.unwrap();
assert_eq!(replicator.state, ReplicatorState::NeedFrames);

assert!(matches!(replicator.try_replicate_step().await.unwrap_err(), Error::Client(_)));
assert!(matches!(
replicator.try_replicate_step().await.unwrap_err(),
Error::Client(_)
));
assert!(!replicator.injector.lock().is_txn);
assert!(replicator.client_mut().committed_frame_no.is_none());
assert_eq!(replicator.state, ReplicatorState::NeedHandshake);


replicator.try_replicate_step().await.unwrap();
assert_eq!(replicator.state, ReplicatorState::NeedFrames);

Expand Down

0 comments on commit 2af6c8b

Please sign in to comment.