diff --git a/bats_test/version/version.bats b/bats_test/version/version.bats index 7a106fe2..cedbb978 100644 --- a/bats_test/version/version.bats +++ b/bats_test/version/version.bats @@ -19,3 +19,8 @@ EXPECTED_VERSION=$(jq -r '.version' ./package.json) run -0 yarn ardrive tx-status -V [[ "$output" = "$EXPECTED_VERSION" ]] } + +@test "'ardrive --version' overrides other flags" { + run -0 yarn ardrive --help --version + [[ "$output" = "$EXPECTED_VERSION" ]] +} \ No newline at end of file