1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-17 15:53:45 -05:00

Merge remote-tracking branch 'rbenv/master' into rbenv-20151121

This commit is contained in:
Yamashita, Yuu
2015-11-21 04:13:52 +00:00
24 changed files with 309 additions and 111 deletions

View File

@@ -13,7 +13,7 @@ create_command() {
create_command "pyenv-hello" "#!$BASH
echo hello"
run pyenv-completions hello
assert_success ""
assert_success "--help"
}
@test "command with completion support" {
@@ -25,7 +25,11 @@ else
exit 1
fi"
run pyenv-completions hello
assert_success "hello"
assert_success
assert_output <<OUT
--help
hello
OUT
}
@test "forwards extra arguments" {
@@ -40,6 +44,7 @@ fi"
run pyenv-completions hello happy world
assert_success
assert_output <<OUT
--help
happy
world
OUT