Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
f2f77388
Commit
f2f77388
authored
Jun 02, 2015
by
Tester
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the rbenv-help stub strictly match args
parent
a1023090
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
test/rbenv.bats
+6
-6
No files found.
test/rbenv.bats
View file @
f2f77388
...
...
@@ -149,7 +149,7 @@ OUT
@test "not enough arguments for rbenv-install" {
stub_ruby_build
stub rbenv-help 'echo "Usage: rbenv install"'
stub rbenv-help '
install :
echo "Usage: rbenv install"'
run rbenv-install
assert_failure
...
...
@@ -160,7 +160,7 @@ OUT
@test "too many arguments for rbenv-install" {
stub_ruby_build
stub rbenv-help 'echo "Usage: rbenv install"'
stub rbenv-help '
install :
echo "Usage: rbenv install"'
run rbenv-install 2.1.1 2.1.2
assert_failure
...
...
@@ -171,7 +171,7 @@ OUT
@test "show help for rbenv-install" {
stub_ruby_build
stub rbenv-help 'echo "Usage: rbenv install"'
stub rbenv-help '
install :
echo "Usage: rbenv install"'
run rbenv-install -h
assert_success
...
...
@@ -181,7 +181,7 @@ OUT
}
@test "not enough arguments rbenv-uninstall" {
stub rbenv-help 'echo "Usage: rbenv uninstall"'
stub rbenv-help '
uninstall :
echo "Usage: rbenv uninstall"'
run rbenv-uninstall
assert_failure
...
...
@@ -191,7 +191,7 @@ OUT
}
@test "too many arguments for rbenv-uninstall" {
stub rbenv-help 'echo "Usage: rbenv uninstall"'
stub rbenv-help '
uninstall :
echo "Usage: rbenv uninstall"'
run rbenv-uninstall 2.1.1 2.1.2
assert_failure
...
...
@@ -201,7 +201,7 @@ OUT
}
@test "show help for rbenv-uninstall" {
stub rbenv-help 'echo "Usage: rbenv uninstall"'
stub rbenv-help '
uninstall :
echo "Usage: rbenv uninstall"'
run rbenv-uninstall -h
assert_success
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment