diff --git a/test/test.bats b/test/test.bats index 4bfd008..26f6bc5 100644 --- a/test/test.bats +++ b/test/test.bats @@ -3,4 +3,18 @@ load test_helper @test "Outputs help if run without arguments" { run ./sig [ "$status" -eq 0 ] + echo "${output}" | grep "simple multisig trust toolchain" +} + +@test "Outputs help if run with help" { + run ./sig help + [ "$status" -eq 0 ] + echo "${output}" | grep "simple multisig trust toolchain" +} + + +@test "Outputs version if run with version" { + run ./sig version + [ "$status" -eq 0 ] + echo "${output}" | grep "v0.0.1" }