From 55ac2acc8e07c6374bedb959fc9857403da91340 Mon Sep 17 00:00:00 2001 From: Ryan Geary Date: Sun, 15 Sep 2019 21:31:31 -0400 Subject: Add future tests --- src/choice.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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; -- cgit v1.2.3