mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-15 07:38:14 +00:00
10 lines
188 B
Bash
10 lines
188 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
testCompletionRuns() {
|
||
|
result=$(./yq __complete "" 2>&1)
|
||
|
assertEquals 0 $?
|
||
|
assertContains "$result" "Completion ended with directive:"
|
||
|
}
|
||
|
|
||
|
source ./scripts/shunit2
|