diff options
Diffstat (limited to 'tests/stateless-journey.sh')
-rwxr-xr-x | tests/stateless-journey.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stateless-journey.sh b/tests/stateless-journey.sh index 37a32c2..2557f3a 100755 --- a/tests/stateless-journey.sh +++ b/tests/stateless-journey.sh @@ -31,6 +31,12 @@ WITH_FAILURE=1 expect_run ${SUCCESSFULLY} "$exe" aggregate } ) + (with "a single file argument" + it "produces a human-readable (metric) size display of that file" && { + WITH_SNAPSHOT="$snapshot/success-single-file" \ + expect_run ${SUCCESSFULLY} "$exe" aggregate a + } + ) (with "sorting disabled" it "produces a human-readable (metric) aggregate of everything within the current directory, alphabetically sorted, with total" && { WITH_SNAPSHOT="$snapshot/success-no-arguments-no-sort" \ |