gfortran: use test assertion

master
Jack Nagel 2013-06-08 21:26:19 -05:00
parent ea5cecbb73
commit ade0c216b5
1 changed files with 1 additions and 1 deletions

View File

@ -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