From 1665e1dd212f97d13e3588726bcada3e7fc8b686 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Thu, 29 Sep 2022 09:30:19 -0700 Subject: [PATCH] cli: reuse `default_app()` in test --- src/commands.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands.rs b/src/commands.rs index 95f4f5189..169713794 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -4584,7 +4584,6 @@ mod tests { #[test] fn verify_app() { - let app = Commands::augment_subcommands(Args::command()); - app.debug_assert(); + default_app().debug_assert(); } }