mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2026-02-08 03:54:41 -05:00
apply correct formatting
This commit is contained in:
parent
ddb3b1a2bb
commit
546d0efe21
1 changed files with 3 additions and 9 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue