mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-14 07:08:06 +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
|