summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Geary <rtgnj42@gmail.com>2019-09-15 21:31:31 -0400
committerRyan Geary <rtgnj42@gmail.com>2019-09-17 23:40:35 -0400
commit55ac2acc8e07c6374bedb959fc9857403da91340 (patch)
tree9f183c211113ed6a305ffc73d3cb001d91a8cf1d
parentc81af46d4e005124d66b3cbda96d61378b15e0af (diff)
Add future tests
-rw-r--r--src/choice.rs12
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;