Fix tests

This commit is contained in:
Natsu Kagami 2020-06-27 21:22:52 -04:00
parent 819f51536e
commit 0497d495d2
Signed by: nki
GPG key ID: 73376E117CD20735
2 changed files with 9 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -166,7 +166,7 @@ mod duration {
#[test] #[test]
fn test_parse_fail() { fn test_parse_fail() {
let tests = ["", "1w", "-1W", "1"]; let tests = ["", "-1W", "1"];
for input in &tests { for input in &tests {
assert!( assert!(
parse_duration_string(input).is_err(), parse_duration_string(input).is_err(),