Commit 38ae3b56 by Mislav Marohnić

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.
parent fa38b660
......@@ -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'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment