diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rakudo-star.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/rakudo-star.rb b/Library/Formula/rakudo-star.rb index 22ae592c3..4e5bfd4de 100644 --- a/Library/Formula/rakudo-star.rb +++ b/Library/Formula/rakudo-star.rb @@ -36,4 +36,10 @@ class RakudoStar < Formula # move the man pages out of the top level into share. mv "#{prefix}/man", share end + + test do + out = `#{bin}/perl6 -e 'loop (my $i = 0; $i < 10; $i++) { print $i }'` + assert_equal "0123456789", out + assert_equal 0, $?.exitstatus + end end |
