diff options
Diffstat (limited to 'Library/Formula/calc.rb')
| -rw-r--r-- | Library/Formula/calc.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/calc.rb b/Library/Formula/calc.rb index a18b84194..438116be6 100644 --- a/Library/Formula/calc.rb +++ b/Library/Formula/calc.rb @@ -41,4 +41,10 @@ class Calc < Formula system "make" system "make install" end + + test do + output = `#{bin}/calc 0xA + 1`.strip + assert_equal "11", output + assert_equal 0, $?.exitstatus + end end |
