test(funtrack): update test to reflect changes

pull/13/head
kevin zhuang 4 years ago
parent 84383df904
commit 2d0db18d82

@ -11,11 +11,11 @@ invalid_option() {
@test "funtrack help" {
run help
[ "${status}" -eq 0 ]
[ "${lines[0]}" = "Usage: dotbare funtrack [-h] [-s] [-S] ..." ]
[ "${lines[0]}" = "Usage: dotbare funtrack [-h] [-t] [-r] [-y] ..." ]
}
@test "funtrack invalid option" {
run invalid_option
[ "${status}" -eq 1 ]
[ "${lines[0]}" = "Invalid option: p" ]
[ "${lines[0]}" = "Invalid option: -p" ]
}

Loading…
Cancel
Save