diff options
| author | Jack Nagel | 2013-06-08 21:26:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-08 21:32:20 -0500 |
| commit | 95d4157338961a19a9980bdd23daa48c54f982b2 (patch) | |
| tree | 889aef9ee11b192217b592beedc49453a07a9973 /Library/Formula | |
| parent | 455916b1c708bfdcb3e1a4e4ced83ec0e7fddc91 (diff) | |
| download | homebrew-95d4157338961a19a9980bdd23daa48c54f982b2.tar.bz2 | |
aamath: use test assertion
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/aamath.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/aamath.rb b/Library/Formula/aamath.rb index 744bb5f4c..34e551755 100644 --- a/Library/Formula/aamath.rb +++ b/Library/Formula/aamath.rb @@ -18,7 +18,7 @@ class Aamath < Formula IO.popen("#{bin}/aamath", "w+") do |pipe| pipe.write((prefix/"testcases").read) pipe.close_write - /#{Regexp.escape("f(x + h) = f(x) + h f'(x)")}/ === pipe.read + assert_match /#{Regexp.escape("f(x + h) = f(x) + h f'(x)")}/, pipe.read end end end |
