From ade0c216b564f9fbe5b828ef9fc81a51bda2d83b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:19 -0500 Subject: [PATCH] gfortran: use test assertion --- Formula/gfortran.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/gfortran.rb b/Formula/gfortran.rb index 174ae1cc7e8..c3718a49651 100644 --- a/Formula/gfortran.rb +++ b/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