diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ruby.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index 045c1732e..e544320a3 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -78,6 +78,12 @@ class Ruby < Formula to restore binstubs for installed gems. EOS end + + test do + output = `#{bin}/ruby -e 'puts "hello"'` + assert_equal "hello\n", output + assert_equal 0, $?.exitstatus + end end __END__ |
