mod terminator;
use super::*;
#[test]
fn _0001() {
let matches = Clar::new(APP)
.options_arguments([ClarOption::new("color", 'c', "color").short_label('c')], [ClarArgument::new("file")])
.resolve(EMPTY_INPUT)
.unwrap();
assert!(!matches.is_present("color"));
assert!(!matches.is_present("file"));
}
#[test]
fn _0002() {
let matches = Clar::new(APP)
.options_arguments([ClarOption::new("color", 'c', "color").short_label('c')], [ClarArgument::new("file")])
.resolve(["-c", "file.txt"])
.unwrap();
assert!(matches.is_present("color"));
assert!(matches.is_present("file"));
assert_eq!("file.txt", matches.get_first_value("file").unwrap());
}