test smartstring::validate(), hooray
This commit is contained in:
parent
47c55ae61e
commit
38ca71cc14
1 changed files with 2 additions and 2 deletions
|
@ -462,7 +462,7 @@ fn verbosity() {
|
||||||
];
|
];
|
||||||
|
|
||||||
for (flags, level) in expected_results {
|
for (flags, level) in expected_results {
|
||||||
assert_eq!(Parameters::parse_from(&["fif", flags]).default_verbosity(), level);
|
assert_eq!(Parameters::parse_from(&["fif", flags]).get_verbosity(), level);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -479,5 +479,5 @@ fn validate_string_type() {
|
||||||
StdString::from("A long and therefore heap-allocated string")
|
StdString::from("A long and therefore heap-allocated string")
|
||||||
);
|
);
|
||||||
// uncomment if i ever update to smartstring >= 0.2.9
|
// uncomment if i ever update to smartstring >= 0.2.9
|
||||||
// smartstring::validate();
|
smartstring::validate();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue