three initial tests
This commit is contained in:
parent
3693313e63
commit
966fb90b0d
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue