diff options
author | Ryan Geary <rtgnj42@gmail.com> | 2019-09-15 21:31:31 -0400 |
---|---|---|
committer | Ryan Geary <rtgnj42@gmail.com> | 2019-09-17 23:40:35 -0400 |
commit | 55ac2acc8e07c6374bedb959fc9857403da91340 (patch) | |
tree | 9f183c211113ed6a305ffc73d3cb001d91a8cf1d | |
parent | c81af46d4e005124d66b3cbda96d61378b15e0af (diff) |
Add future tests
-rw-r--r-- | src/choice.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/choice.rs b/src/choice.rs index aa16c97..7dbd84a 100644 --- a/src/choice.rs +++ b/src/choice.rs @@ -62,6 +62,18 @@ mod tests { ) } + // These tests should pass once parse_choice return errors properly, but until that time makes + // running other tests impossible. + //#[test] + //fn parse_bad_choice() { + //assert!(Choice::parse_choice("d").is_err()); + //} + // + //#[test] + //fn parse_bad_range() { + //assert!(Choice::parse_choice("d:i").is_err()); + //} + } use regex::Regex; |