summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2024-01-01 10:19:52 +0000
committerGitHub <noreply@github.com>2024-01-01 05:19:52 -0500
commitecb6faa089271be48325eb7371a3a01a17683ba4 (patch)
tree4a4bfebdc2f27ecb13a0905c8f5eb9b7fb09ac3a /tests
parent74792f0ddf0a184e17c98877d9f531282cdce92f (diff)
refactor: restructure canvas file folder structure (#1368)
* refactor: group together some canvas files * rename file * more shuffling around * fmt * more shuffling Going to flatten widgets in another PR. * some docs * naming * fmt
Diffstat (limited to 'tests')
-rw-r--r--tests/layout_management_tests.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/layout_management_tests.rs b/tests/layout_management_tests.rs
index 811c7315..2d4b617b 100644
--- a/tests/layout_management_tests.rs
+++ b/tests/layout_management_tests.rs
@@ -1,11 +1,13 @@
//! Mocks layout management, so we can check if we broke anything.
-use bottom::app::layout_manager::{BottomLayout, BottomWidgetType};
#[cfg(feature = "battery")]
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 bottom::{
+ app::layout_manager::{BottomLayout, BottomWidgetType},
+ constants::{DEFAULT_LAYOUT, DEFAULT_WIDGET_ID},
+ options::{layout_options::Row, Config},
+ utils::error,
+};
use toml_edit::de::from_str;
// TODO: Could move these into the library files rather than external tbh.