mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 13:48: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
|