From 8a0e779b1784275a38d21566d1c7bf67b51f2926 Mon Sep 17 00:00:00 2001 From: Paul Sanders Date: Tue, 7 Mar 2023 14:44:24 -0500 Subject: [PATCH] Add sort to test --- tests/suppress_size.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/suppress_size.rs b/tests/suppress_size.rs index 327c7f00..a45d6d10 100644 --- a/tests/suppress_size.rs +++ b/tests/suppress_size.rs @@ -5,19 +5,19 @@ mod utils; #[test] fn suppress_size() { assert_eq!( - utils::run_cmd(&["--suppress-size", "tests/data"]), + utils::run_cmd(&["--suppress-size", "--sort", "name", "tests/data"]), indoc!( " data - ├─ nylarlathotep.txt - ├─ lipsum - │ └─ lipsum.txt ├─ dream_cycle │ └─ polaris.txt + ├─ lipsum + │ └─ lipsum.txt ├─ necronomicon.txt - ├─ the_yellow_king - │ └─ cassildas_song.md - └─ nemesis.txt" + ├─ nemesis.txt + ├─ nylarlathotep.txt + └─ the_yellow_king + └─ cassildas_song.md" ), "Failed to suppress size." )