mirror of
https://github.com/theryangeary/choose
synced 2024-11-23 03:13:04 +00:00
Move parse_choice tests into their own test module
This commit is contained in:
parent
55ac2acc8e
commit
5703ed02a1
1 changed files with 70 additions and 64 deletions
|
@ -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());
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue