Skip to content

Commit f9c2184

Browse files
committed
Switch to unwrap in test
`unwrap` panics while logging error messages while `assert` does not.
1 parent a78ec53 commit f9c2184

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/client.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ mod tests {
289289
#[async_test]
290290
async fn test_get_keys() {
291291
let client = Client::new("http://localhost:7700", "masterKey");
292-
293-
let result = client.get_keys().await;
294-
assert_eq!(result.is_err(), false);
292+
client.get_keys().await.unwrap();
295293
}
296294
}

0 commit comments

Comments
 (0)