diff --git a/src/lib.rs b/src/lib.rs index 1de0f00..c02d57f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -967,6 +967,8 @@ 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(); + assert_eq!(res.index, index); 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);