From f943f1386d3484a007d91c3b0e43efb8263bd1bb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:19 -0500 Subject: gfortran: use test assertion --- Library/Formula/gfortran.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3