From cf4736db68e9d797f489c87bf3c5b06913010e36 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 29 Sep 2018 15:04:38 +0200 Subject: parser: Add some stub tests for a new `Action` parser Ideas for some things we should be testing. --- src/parser.rs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src') diff --git a/src/parser.rs b/src/parser.rs index 148187f..50b15b3 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -372,6 +372,30 @@ mod tests { assert_eq!(result, Ok(expected)); } + #[test] + fn action_parses_map_with_simple_characters() { + } + + #[test] + fn action_parses_map_with_modifier() { + } + + #[test] + fn action_parses_map_with_special_key() { + } + + #[test] + fn action_parses_map_with_backslash_escape() { + } + + #[test] + fn action_parses_map_with_less_than_escape() { + } + + #[test] + fn action_parses_command_to_vec_of_words() { + } + #[test] fn map_parses_map_line() { let text = "map test -- cgit v1.2.3