aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/algol68g.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/algol68g.rb')
-rw-r--r--Library/Formula/algol68g.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/algol68g.rb b/Library/Formula/algol68g.rb
index 7706fb785..d04172d33 100644
--- a/Library/Formula/algol68g.rb
+++ b/Library/Formula/algol68g.rb
@@ -18,8 +18,6 @@ class Algol68g < Formula
print("Hello World")
EOS
- output = `#{bin}/a68g #{path}`.strip
- assert_equal "Hello World", output
- assert_equal 0, $?.exitstatus
+ assert_equal "Hello World", shell_output("#{bin}/a68g #{path}").strip
end
end