mirror of
https://github.com/kdabir/has.git
synced 2024-11-10 21:26:50 +01:00
node was not there on travis, git must be :)
This commit is contained in:
parent
c4695a0bdd
commit
1745c1d2b2
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
@test "works with single command check" {
|
||||
result=$(bash has node)
|
||||
result=$(bash has git)
|
||||
|
||||
[[ $result == *"✔ node"* ]]
|
||||
[[ $result == *"✔ git"* ]]
|
||||
}
|
||||
|
||||
@test "safely tells about tools not configured" {
|
||||
|
Loading…
Reference in New Issue
Block a user