1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/tests
Christian Duerr e01317d885
Fix failing test with bench feature
Using the `bench` feature, `cargo test` was failing since one of the
benchmarks was running into a debug assertion for attempting to access a
line with an index beyond the grid length.

Since this issue was caused by the `len` property not being serialized
and deserialized, the `#[serde(skip)]` attribute has been changed to
`#[serde(default)]`. The ref-test has been edited to include the correct
grid length for proper deserialization.

This fixes #1604.
2018-09-29 20:48:24 +00:00
..
ref Fix failing test with bench feature 2018-09-29 20:48:24 +00:00
ref.rs Truncate invisible lines before storing ref-tests 2018-06-02 09:56:50 -07:00