Skip to content

Commit

Permalink
Add sort to test
Browse files Browse the repository at this point in the history
  • Loading branch information
sanders41 committed Mar 7, 2023
1 parent a41ca98 commit 8a0e779
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/suppress_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down

0 comments on commit 8a0e779

Please sign in to comment.