Browse Source

test smartstring::validate(), hooray

master
Lynne Megido 2 months ago
parent
commit
38ca71cc14
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
  1. 4
      src/tests/mod.rs

4
src/tests/mod.rs

@ -462,7 +462,7 @@ fn verbosity() {
];
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")
);
// uncomment if i ever update to smartstring >= 0.2.9
// smartstring::validate();
smartstring::validate();
}

Loading…
Cancel
Save