diff options
| author | Teddy Wing | 2018-09-29 15:04:38 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-09-29 15:05:08 +0200 | 
| commit | cf4736db68e9d797f489c87bf3c5b06913010e36 (patch) | |
| tree | d784a892176874983f92e9f512f6fae31a29e5d7 | |
| parent | dece42a1849477d359f9be1503bb66ba67645237 (diff) | |
| download | dome-key-map-cf4736db68e9d797f489c87bf3c5b06913010e36.tar.bz2 | |
parser: Add some stub tests for a new `Action` parser
Ideas for some things we should be testing.
| -rw-r--r-- | src/parser.rs | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/src/parser.rs b/src/parser.rs index 148187f..50b15b3 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -373,6 +373,30 @@ mod tests {      }      #[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 <play><down> test  "; | 
