We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b72c792 commit 418fc93Copy full SHA for 418fc93
1 file changed
libdd-http-client/src/client.rs
@@ -119,7 +119,9 @@ mod tests {
119
.base_url("http://localhost:8126".to_owned())
120
.timeout(Duration::from_secs(5))
121
.build();
122
- assert!(client.is_ok());
+ let client = client.unwrap();
123
+ assert_eq!(client.config().base_url(), "http://localhost:8126");
124
+ assert_eq!(client.config().timeout(), Duration::from_secs(5));
125
}
126
127
#[cfg_attr(miri, ignore)]
0 commit comments