summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/arg_tests.rs4
-rw-r--r--tests/invalid_config_tests.rs4
-rw-r--r--tests/layout_management_tests.rs2
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/arg_tests.rs b/tests/arg_tests.rs
index 3bb05e95..af4df7b8 100644
--- a/tests/arg_tests.rs
+++ b/tests/arg_tests.rs
@@ -1,8 +1,8 @@
//! These tests are mostly here just to ensure that invalid results will be caught when passing arguments.
+mod util;
+
use assert_cmd::prelude::*;
use predicates::prelude::*;
-
-mod util;
use util::*;
#[test]
diff --git a/tests/invalid_config_tests.rs b/tests/invalid_config_tests.rs
index d000a5af..62e2a376 100644
--- a/tests/invalid_config_tests.rs
+++ b/tests/invalid_config_tests.rs
@@ -1,7 +1,7 @@
+mod util;
+
use assert_cmd::prelude::*;
use predicates::prelude::*;
-
-mod util;
use util::*;
// These tests are for testing some config file-specific options.
diff --git a/tests/layout_management_tests.rs b/tests/layout_management_tests.rs
index 2d4b617b..607eea9e 100644
--- a/tests/layout_management_tests.rs
+++ b/tests/layout_management_tests.rs
@@ -5,7 +5,7 @@ use bottom::constants::DEFAULT_BATTERY_LAYOUT;
use bottom::{
app::layout_manager::{BottomLayout, BottomWidgetType},
constants::{DEFAULT_LAYOUT, DEFAULT_WIDGET_ID},
- options::{layout_options::Row, Config},
+ options::config::{layout::Row, Config},
utils::error,
};
use toml_edit::de::from_str;