Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kushudai committed Jul 20, 2024
2 parents 9739dbe + 90cf56e commit c8e93d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -967,9 +967,13 @@ mod tests {

let res = read_key(&consul, key).await.unwrap();
assert_eq!(res.index, index);
create_or_update_key_value(&consul, key, string_value).await.unwrap();
create_or_update_key_value(&consul, key, string_value)
.await
.unwrap();
assert_eq!(res.index, index);
create_or_update_key_value(&consul, key, "This is a new test").await.unwrap();
create_or_update_key_value(&consul, key, "This is a new test")
.await
.unwrap();
let res = read_key(&consul, key).await.unwrap();
assert!(res.index > index);
}
Expand Down

0 comments on commit c8e93d6

Please sign in to comment.