summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2018-05-11 20:22:36 +0200
committerJoe Wilm <jwilm@users.noreply.github.com>2018-05-11 16:54:19 -0700
commite34dccdabf210612666cbb9d22d7afff23487eaf (patch)
tree01cfc895cf42fc3f31427cc4543ab62265af3eb8 /src/config.rs
parent57281363503ddd1ebb373ed5de2b84c79d5aa3aa (diff)
downloadalacritty-e34dccdabf210612666cbb9d22d7afff23487eaf.tar.gz
alacritty-e34dccdabf210612666cbb9d22d7afff23487eaf.zip
Fix clippy lints
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index 814b726b..40c550b0 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1718,10 +1718,10 @@ mod tests {
.expect("deserialize config");
// Sanity check that mouse bindings are being parsed
- assert!(config.mouse_bindings.len() >= 1);
+ assert!(!config.mouse_bindings.is_empty());
// Sanity check that key bindings are being parsed
- assert!(config.key_bindings.len() >= 1);
+ assert!(!config.key_bindings.is_empty());
}
}