1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-11 04:53:47 -05:00

Import recent changes from ruby-build 20160130

This commit is contained in:
Yamashita, Yuu
2016-02-08 00:01:02 +00:00
parent f2f703d6d9
commit c8ab429d7b
11 changed files with 195 additions and 145 deletions

View File

@@ -71,6 +71,12 @@ assert() {
fi
}
refute() {
if "$@"; then
flunk "expected to fail: $@"
fi
}
flunk() {
{ if [ "$#" -eq 0 ]; then cat -
else echo "$@"