diff options
| author | Jack Nagel | 2013-06-08 21:26:19 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-08 21:32:23 -0500 |
| commit | f943f1386d3484a007d91c3b0e43efb8263bd1bb (patch) | |
| tree | ed92bddd83c86cbc54d7acd4fc01d582b912c5e2 /Library/Formula | |
| parent | dd547c9bdcd6c9f8a7169016d47f56616a60b60d (diff) | |
| download | homebrew-f943f1386d3484a007d91c3b0e43efb8263bd1bb.tar.bz2 | |
gfortran: use test assertion
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gfortran.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/gfortran.rb b/Library/Formula/gfortran.rb index 174ae1cc7..c3718a496 100644 --- a/Library/Formula/gfortran.rb +++ b/Library/Formula/gfortran.rb @@ -103,7 +103,7 @@ class Gfortran < Formula Pathname('in.f90').write(fixture) system "#{bin}/gfortran -c in.f90" system "#{bin}/gfortran -o test in.o" - `./test`.strip =='done' + assert_equal 'done', `./test`.strip end def caveats; <<-EOS.undent |
