summaryrefslogtreecommitdiff
path: root/alacritty_terminal/tests/ref.rs
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-01-05 02:55:10 +0300
committerChristian Duerr <contact@christianduerr.com>2020-01-04 23:55:10 +0000
commit5aaa350e1a79402244c3350b2cad9880c4e770e4 (patch)
tree7f11535ad614767f6a4c405772a3a65905d3d70c /alacritty_terminal/tests/ref.rs
parentdc063180f31a4c94a2ad3e5e0c6535e39edcfa9a (diff)
downloadalacritty-5aaa350e1a79402244c3350b2cad9880c4e770e4.tar.gz
alacritty-5aaa350e1a79402244c3350b2cad9880c4e770e4.zip
Update outdated reftests
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);