summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-04-12 00:03:27 -0400
committerGitHub <noreply@github.com>2023-04-12 00:03:27 -0400
commite61e5f2af6b5f533461e15bb04250e9ad94a6627 (patch)
tree8149cafafa161679ce8daa08b22d09da40245963 /tests
parent857b5bade0d71326d43036b4d9b1294caf03f265 (diff)
deps: Switch to using hashbrown for general hashmap usage (#1092)
* deps: replace fxhash with hashbrown + ahash * replace std hashmap with hashbrown + ahash * fmt * some more fmt
Diffstat (limited to 'tests')
-rw-r--r--tests/layout_management_tests.rs1
-rw-r--r--tests/util.rs4
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/layout_management_tests.rs b/tests/layout_management_tests.rs
index fb14eef2..7dd6114c 100644
--- a/tests/layout_management_tests.rs
+++ b/tests/layout_management_tests.rs
@@ -6,7 +6,6 @@ use bottom::constants::DEFAULT_BATTERY_LAYOUT;
use bottom::constants::{DEFAULT_LAYOUT, DEFAULT_WIDGET_ID};
use bottom::options::{layout_options::Row, Config};
use bottom::utils::error;
-
use toml_edit::de::from_str;
// TODO: Could move these into the library files rather than external tbh.
diff --git a/tests/util.rs b/tests/util.rs
index f7dbebee..40e50305 100644
--- a/tests/util.rs
+++ b/tests/util.rs
@@ -1,4 +1,6 @@
-use std::{collections::HashMap, env, process::Command};
+use std::{env, process::Command};
+
+use hashbrown::HashMap;
/// Returns a QEMU runner target given an architecture.
fn get_qemu_target(arch: &str) -> &str {