http-error: fix a warning in tests
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
15c64a5d00
commit
a7ab26a9d8
@ -66,7 +66,7 @@ mod tests {
|
||||
#[test]
|
||||
fn test_http_err() {
|
||||
// Make sure the macro generates valid code.
|
||||
http_err!(IM_A_TEAPOT, "Cannot brew coffee");
|
||||
let _ = http_err!(IM_A_TEAPOT, "Cannot brew coffee");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
x
Reference in New Issue
Block a user