diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | tests/interactive.rs | 2 |
2 files changed, 6 insertions, 3 deletions
@@ -6,8 +6,9 @@ help: $(info lint | run lints with clippy) $(info benchmark | just for fun, really) $(info profile | only on linux - run callgrind and annotate it) - $(info unit-tests | run all unit test) - $(info continuous-unit-tests | run all unit test whenever something changes) + $(info tests | run all tests) + $(info unit-tests | run all unit tests) + $(info continuous-unit-tests | run all unit tests whenever something changes) $(info journey-tests | run all stateless journey test) $(info continuous-journey-tests | run all stateless journey test whenever something changes) $(info -- Use docker for all dependencies - run make interactively from there ----------------) @@ -35,6 +36,8 @@ profile: target/release/dua benchmark: target/release/dua hyperfine '$<' +tests: unit-tests journey-tests + unit-tests: cargo test --test interactive diff --git a/tests/interactive.rs b/tests/interactive.rs index 6ad4213..fe6cf76 100644 --- a/tests/interactive.rs +++ b/tests/interactive.rs @@ -1,6 +1,6 @@ mod app { use dua::{ - interactive::{widgets::SortMode, TerminalApp}, + interactive::{SortMode, TerminalApp}, traverse::{EntryData, Tree, TreeIndex}, ByteFormat, Color, TraversalSorting, WalkOptions, }; |