From 5aaa350e1a79402244c3350b2cad9880c4e770e4 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 5 Jan 2020 02:55:10 +0300 Subject: Update outdated reftests --- alacritty_terminal/tests/ref.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alacritty_terminal/tests/ref.rs') 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 = 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); -- cgit v1.2.3-54-g00ecf