mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-13 04:57:38 +02: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
Reference in a new issue