diff options
Diffstat (limited to 'Library/Formula/base64.rb')
| -rw-r--r-- | Library/Formula/base64.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/base64.rb b/Library/Formula/base64.rb index 9e74e8079..183424f68 100644 --- a/Library/Formula/base64.rb +++ b/Library/Formula/base64.rb @@ -15,9 +15,6 @@ class Base64 < Formula test do path = testpath/"a.txt" path.write "hello" - - output = `#{bin}/base64 #{path}`.strip - assert_equal "aGVsbG8=", output - assert_equal 0, $?.exitstatus + assert_equal "aGVsbG8=", shell_output("#{bin}/base64 #{path}").strip end end |
