diff options
Diffstat (limited to 'alacritty_terminal/tests')
-rw-r--r-- | alacritty_terminal/tests/ref.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs index 1f992941..454f2e5d 100644 --- a/alacritty_terminal/tests/ref.rs +++ b/alacritty_terminal/tests/ref.rs @@ -112,9 +112,7 @@ fn ref_test(dir: &Path) { let mut terminal = Term::new(options, &size, Mock); let mut parser: ansi::Processor = ansi::Processor::new(); - for byte in recording { - parser.advance(&mut terminal, byte); - } + parser.advance(&mut terminal, &recording); // Truncate invisible lines from the grid. let mut term_grid = terminal.grid().clone(); |