Adds a bunch of `chars` as individual key presses to the golden input.
(mut self, chars: &'static str)
| 553 | |
| 554 | /// Adds a bunch of `chars` as individual key presses to the golden input. |
| 555 | fn add_key_chars(mut self, chars: &'static str) -> Self { |
| 556 | for ch in chars.chars() { |
| 557 | self.keys.push(Key::Char(ch)); |
| 558 | } |
| 559 | self |
| 560 | } |
| 561 | |
| 562 | /// Adds a single state change to the expected output. |
| 563 | fn add_output(mut self, output: CapturedOut) -> Self { |