tests(Hidden Args): fixes tests to include hidden field

This commit is contained in:
Kevin K 2015-09-08 21:02:54 -04:00
parent 2cab4d0334
commit c92a98fb67
3 changed files with 6 additions and 0 deletions

View file

@ -57,6 +57,7 @@ mod test {
requires: None,
global: false,
overrides: None,
hidden: false,
};
assert_eq!(&*format!("{}", f), "--flag");
@ -71,6 +72,7 @@ mod test {
requires: None,
global: false,
overrides: None,
hidden: false,
};
assert_eq!(&*format!("{}", f2), "-f");

View file

@ -93,6 +93,7 @@ mod test {
global: false,
validator: None,
overrides: None,
hidden: false,
};
assert_eq!(&*format!("{}", o), "--option <opt>...");
@ -119,6 +120,7 @@ mod test {
global: false,
validator: None,
overrides: None,
hidden: false,
};
assert_eq!(&*format!("{}", o2), "-o <file> <name>");

View file

@ -72,6 +72,7 @@ mod test {
global: false,
validator: None,
overrides: None,
hidden: false,
};
assert_eq!(&*format!("{}", p), "[pos]...");
@ -92,6 +93,7 @@ mod test {
global: false,
validator: None,
overrides: None,
hidden: false,
};
assert_eq!(&*format!("{}", p2), "<pos>");