chore: Fix the tests

This commit is contained in:
J H
2024-09-20 12:01:08 -06:00
parent 8128b35e57
commit 379c2a126f
2 changed files with 2 additions and 1 deletions

View File

@@ -178,6 +178,7 @@ where
Context: crate::Context, Context: crate::Context,
H: HandlerTypes, H: HandlerTypes,
{ {
const NO_CLI: bool = true;
fn cli_command(&self) -> clap::Command { fn cli_command(&self) -> clap::Command {
unimplemented!() unimplemented!()
} }

View File

@@ -239,7 +239,7 @@ async fn test_server() {
"bar", "bar",
] ]
.iter() .iter()
.map(|s| OsString::from(s)), .map(OsString::from),
) )
.unwrap(); .unwrap();
shutdown.shutdown() shutdown.shutdown()