three initial tests

This commit is contained in:
Lance Vick 2020-11-18 16:52:09 -08:00
parent 3693313e63
commit 966fb90b0d
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 14 additions and 0 deletions

View File

@ -3,4 +3,18 @@ load test_helper
@test "Outputs help if run without arguments" { @test "Outputs help if run without arguments" {
run ./sig run ./sig
[ "$status" -eq 0 ] [ "$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"
} }