summaryrefslogtreecommitdiff
path: root/alacritty_terminal/tests
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/tests')
-rw-r--r--alacritty_terminal/tests/ref.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs
index a2447151..135b5f25 100644
--- a/alacritty_terminal/tests/ref.rs
+++ b/alacritty_terminal/tests/ref.rs
@@ -91,7 +91,7 @@ fn ref_test(dir: &Path) {
let ref_config: RefConfig = json::from_str(&serialized_cfg).unwrap_or_default();
let mut config: Config = Default::default();
- config.set_history(ref_config.history_size);
+ config.scrolling.set_history(ref_config.history_size);
let mut terminal = Term::new(&config, size, MessageBuffer::new(), Clipboard::new_nop());
let mut parser = ansi::Processor::new();