• Christian Duerr's avatar
    Fix failing test with `bench` feature · e01317d8
    Christian Duerr authored
    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.
    e01317d8
Name
Last commit
Last update
.github Loading commit data...
assets/osx/Alacritty.app/Contents Loading commit data...
copypasta Loading commit data...
docs Loading commit data...
font Loading commit data...
res Loading commit data...
scripts Loading commit data...
snap Loading commit data...
src Loading commit data...
tests Loading commit data...
.agignore Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
Cargo.lock Loading commit data...
Cargo.toml Loading commit data...
LICENSE-APACHE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
alacritty-completions.bash Loading commit data...
alacritty-completions.fish Loading commit data...
alacritty-completions.zsh Loading commit data...
alacritty.desktop Loading commit data...
alacritty.info Loading commit data...
alacritty.man Loading commit data...
alacritty.yml Loading commit data...
alacritty_macos.yml Loading commit data...
build.rs Loading commit data...