mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 04:23:47 -05:00
Import changes from ruby-build v20150112
This commit is contained in:
@@ -115,6 +115,10 @@ assert_output() {
|
||||
|
||||
assert_output_contains() {
|
||||
local expected="$1"
|
||||
if [ -z "$expected" ]; then
|
||||
echo "assert_output_contains needs an argument" >&2
|
||||
return 1
|
||||
fi
|
||||
echo "$output" | $(type -p ggrep grep | head -1) -F "$expected" >/dev/null || {
|
||||
{ echo "expected output to contain $expected"
|
||||
echo "actual: $output"
|
||||
|
||||
Reference in New Issue
Block a user