apply correct formatting

This commit is contained in:
iraizo 2024-04-06 15:32:16 +02:00
parent ddb3b1a2bb
commit 546d0efe21
No known key found for this signature in database
GPG key ID: 12A9EF3A7EA88D6C

View file

@ -769,19 +769,13 @@ mod test {
use super::*;
#[test]
fn get_help_short() {
get_help_inner("-h");
}
fn get_help_short() { get_help_inner("-h"); }
#[test]
fn get_help_long() {
get_help_inner("--help");
}
fn get_help_long() { get_help_inner("--help"); }
#[test]
fn get_help_subcommand() {
get_help_inner("help");
}
fn get_help_subcommand() { get_help_inner("help"); }
fn get_help_inner(input: &str) {
let error = AdminCommand::try_parse_from(["argv[0] doesn't matter", input])