api: Make some test assertions more helpful
This commit is contained in:
parent
536fae523e
commit
524eb90501
@ -60,7 +60,7 @@ fn empty_get_request_http_repr() {
|
||||
.unwrap();
|
||||
|
||||
// ... but GET requests' bodies should be empty.
|
||||
assert!(http_req.body().is_empty());
|
||||
assert_eq!(http_req.body().len(), 0);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
x
Reference in New Issue
Block a user