Create unit test for test the command line arguments are compiled corectory

This commit is contained in:
Anas Elgarhy 2023-02-15 18:47:55 +02:00
parent 1953822025
commit ea59f53869
No known key found for this signature in database
GPG Key ID: 0501802A1D496528
1 changed files with 11 additions and 0 deletions

View File

@ -487,3 +487,14 @@ impl Settings {
args
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_cli_arguments() {
use clap::CommandFactory;
Settings::command().debug_assert();
}
}