yq/acceptance_tests/completion.sh

10 lines
188 B
Bash
Raw Normal View History

#!/bin/bash
testCompletionRuns() {
result=$(./yq __complete "" 2>&1)
assertEquals 0 $?
assertContains "$result" "Completion ended with directive:"
}
source ./scripts/shunit2