mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-20 17:28:54 +00:00
Fix tests
This commit is contained in:
parent
819f51536e
commit
0497d495d2
2 changed files with 9 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
@ -166,7 +166,7 @@ mod duration {
|
|||
|
||||
#[test]
|
||||
fn test_parse_fail() {
|
||||
let tests = ["", "1w", "-1W", "1"];
|
||||
let tests = ["", "-1W", "1"];
|
||||
for input in &tests {
|
||||
assert!(
|
||||
parse_duration_string(input).is_err(),
|
||||
|
|
Loading…
Add table
Reference in a new issue