projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c7315
)
tests: Drop unused alias
author
Colin Walters
<walters@verbum.org>
Thu, 29 Jun 2023 06:09:51 +0000
(
02:09
-0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 29 Jun 2023 06:09:51 +0000
(
02:09
-0400)
tests/inst/src/test.rs
patch
|
blob
|
history
diff --git
a/tests/inst/src/test.rs
b/tests/inst/src/test.rs
index bca85977b16429943374af7737a276368a244a67..7508db9d7c45c9443925e4d8ae2f48c01c046daa 100644
(file)
--- a/
tests/inst/src/test.rs
+++ b/
tests/inst/src/test.rs
@@
-17,8
+17,6
@@
use hyper::{Body, Request, Response};
use hyper_staticfile::Static;
use tokio::runtime::Runtime;
-pub(crate) type TestFn = fn() -> Result<()>;
-
/// Run command and assert that its stderr contains pat
pub(crate) fn cmd_fails_with<C: BorrowMut<Command>>(mut c: C, pat: &str) -> Result<()> {
let c = c.borrow_mut();