Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjiachun committed May 14, 2024
1 parent e1731cc commit 8e61a1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/log-store/src/raft_engine/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ mod tests {
.await
.unwrap();
assert!(success);
assert_eq!(b"word".as_slice(), &prev_kv.unwrap().value);
// Do not return prev_kv on success
assert!(prev_kv.is_none());

assert_eq!(
b"world".as_slice(),
Expand Down

0 comments on commit 8e61a1b

Please sign in to comment.