use super::*;
#[test]
fn _0001() {
assert_eq!(
Vec::<Value>::new(),
Clar::new(APP).resolve(EMPTY_INPUT).unwrap().raw_values()
);
}
#[test]
fn _0002() {
assert_eq!(
"Usage: clars\n",
Clar::new(APP)
.resolve(EMPTY_INPUT)
.unwrap()
.get_help()
.chars()
.collect::<String>()
);
}
#[test]
fn _0003() {
assert_eq!(
"unexpected option '-h' found",
Clar::new(APP).resolve(["-h"]).unwrap_err().to_string()
);
}
#[test]
fn _0004() {
assert_eq!(
"unexpected option '--help' found",
Clar::new(APP).resolve(["--help"]).unwrap_err().to_string()
);
}
#[test]
fn _0005() {
assert_eq!(
"unexpected argument 'file.txt' found",
Clar::new(APP).resolve(["file.txt"]).unwrap_err().to_string()
);
}
#[test]
fn _0006() {
assert_eq!(
"unexpected option terminator '--' found",
Clar::new(APP).resolve(["--"]).unwrap_err().to_string()
);
}