aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 0389cf5..a7a565b 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -754,7 +754,7 @@ mod tests {
#[test]
fn action_parses_map_with_less_than_escape() {
- let text = "type\\<lt";
+ let text = "type\\<lt>";
let expected = Action::Map(vec![
KeyboardKeyWithModifiers::new(
@@ -785,6 +785,10 @@ mod tests {
KeyboardKey::Character(Character::new('t')),
None,
),
+ KeyboardKeyWithModifiers::new(
+ KeyboardKey::Character(Character::new('>')),
+ None,
+ ),
]);
let result = action_map().easy_parse(text).map(|t| t.0);