Move parse_choice tests into their own test module

This commit is contained in:
Ryan Geary 2019-09-15 21:38:47 -04:00
parent 55ac2acc8e
commit 5703ed02a1

View file

@ -2,6 +2,9 @@
mod tests {
use super::*;
mod parse_choice_tests {
use super::*;
#[test]
fn parse_single_choice() {
let result = Choice::parse_choice("6").unwrap();
@ -73,6 +76,9 @@ mod tests {
//fn parse_bad_range() {
//assert!(Choice::parse_choice("d:i").is_err());
//}
}
}