mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +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
|