Add another test
This commit is contained in:
parent
bc44cc23ae
commit
f11e3b21ac
|
@ -345,7 +345,8 @@ OK";
|
||||||
2:file: Brent Barkman & Maribeth Solomon/Sunless Sea (2015)/03 Submergio Viol.flac
|
2:file: Brent Barkman & Maribeth Solomon/Sunless Sea (2015)/03 Submergio Viol.flac
|
||||||
3:file: Brent Barkman & Maribeth Solomon/Sunless Sea (2015)/08 Dark Sailing.flac
|
3:file: Brent Barkman & Maribeth Solomon/Sunless Sea (2015)/08 Dark Sailing.flac
|
||||||
4:file: Brent Barkman & Maribeth Solomon/Sunless Sea (2015)/17 The Sea Does Not Forgive.flac
|
4:file: Brent Barkman & Maribeth Solomon/Sunless Sea (2015)/17 The Sea Does Not Forgive.flac
|
||||||
5:file: Brent Barkman & Maribeth Solomon/Sunless Sea (2015)/18 Hope Is an Anchor.flac";
|
5:file: Brent Barkman & Maribeth Solomon/Sunless Sea (2015)/18 Hope Is an Anchor.flac
|
||||||
|
OK";
|
||||||
|
|
||||||
match parse_playlist(input.lines()) {
|
match parse_playlist(input.lines()) {
|
||||||
Err(_) => panic!("Should not be an error"),
|
Err(_) => panic!("Should not be an error"),
|
||||||
|
@ -361,5 +362,11 @@ OK";
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let input = "ACK [] {playlistinfo} something went wrong";
|
||||||
|
match parse_playlist(input.lines()) {
|
||||||
|
Ok(_) => panic!("Should have failed"),
|
||||||
|
Err(e) => assert_eq!(e.message, "[] {playlistinfo} something went wrong")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user