aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers/fixtures.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-16 01:14:04 -0500
committerJesse Luehrs <doy@tozt.net>2021-11-16 01:14:04 -0500
commit1e3ebda4e1d6a2cdfb507cc0ed39aaacf3df0314 (patch)
tree4a66bbaaad6d4fee1d0b4c4abf4f8fe6e2a658c3 /tests/helpers/fixtures.rs
parent2da2800028dd5f65a88d26037acb27c8c906cda7 (diff)
downloadvt100-rust-1e3ebda4e1d6a2cdfb507cc0ed39aaacf3df0314.tar.gz
vt100-rust-1e3ebda4e1d6a2cdfb507cc0ed39aaacf3df0314.zip
clippy
Diffstat (limited to 'tests/helpers/fixtures.rs')
-rw-r--r--tests/helpers/fixtures.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/fixtures.rs b/tests/helpers/fixtures.rs
index 8f9bfdb..f2076fb 100644
--- a/tests/helpers/fixtures.rs
+++ b/tests/helpers/fixtures.rs
@@ -285,7 +285,7 @@ fn assert_produces(input: &[u8], expected: &FixtureScreen) {
.cells
.get(&format!("{},{}", row, col))
.cloned()
- .unwrap_or_else(FixtureCell::default);
+ .unwrap_or_default();
let got_cell = parser.screen().cell(row, col).unwrap();
assert_eq!(got_cell.contents(), expected_cell.contents);
assert_eq!(got_cell.is_wide(), expected_cell.is_wide);