mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-19 20:51:59 +01:00
Improve ruby-build test for too many arguments
Use exactly the same arguments that would have `ruby-build` succeed at executing, but add one more extra to test argument counting.
This commit is contained in:
parent
fa38b660e2
commit
38ae3b56b0
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ load test_helper
|
|||
local definition="${TMP}/build-definition"
|
||||
echo '' > "$definition"
|
||||
|
||||
run ruby-build "$definition" 2.1.2 "${TMP}/install"
|
||||
run ruby-build "$definition" "${TMP}/install" ""
|
||||
assert_failure
|
||||
assert_output_contains 'usage: ruby-build'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue