summaryrefslogtreecommitdiff
path: root/alacritty_terminal/tests/ref.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/tests/ref.rs')
-rw-r--r--alacritty_terminal/tests/ref.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs
index c89b1e93..6c693dbf 100644
--- a/alacritty_terminal/tests/ref.rs
+++ b/alacritty_terminal/tests/ref.rs
@@ -99,11 +99,11 @@ fn ref_test(dir: &Path) {
let recording = read_u8(dir.join("alacritty.recording"));
let serialized_size = read_string(dir.join("size.json")).unwrap();
let serialized_grid = read_string(dir.join("grid.json")).unwrap();
- let serialized_cfg = read_string(dir.join("config.json")).unwrap_or_default();
+ let serialized_cfg = read_string(dir.join("config.json")).unwrap();
let size: SizeInfo = json::from_str(&serialized_size).unwrap();
let grid: Grid<Cell> = json::from_str(&serialized_grid).unwrap();
- let ref_config: RefConfig = json::from_str(&serialized_cfg).unwrap_or_default();
+ let ref_config: RefConfig = json::from_str(&serialized_cfg).unwrap();
let mut config = MockConfig::default();
config.scrolling.set_history(ref_config.history_size);