From 490f77684bef07f6930d5908029fcb6851300714 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 6 Nov 2014 16:40:28 -0600 Subject: [PATCH] idris: simplify interpolation --- Formula/idris.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/idris.rb b/Formula/idris.rb index 8d85ba56d7..6370980fca 100644 --- a/Formula/idris.rb +++ b/Formula/idris.rb @@ -29,8 +29,8 @@ class Idris < Formula main : IO () main = putStrLn "Hello, Homebrew!" EOS - shell_output "#{bin/"idris"} #{testpath/"hello.idr"} -o #{testpath/"hello"}" - result = shell_output "#{testpath/"hello"}" + shell_output "#{bin}/idris #{testpath}/hello.idr -o #{testpath}/hello" + result = shell_output "#{testpath}/hello" assert_match /Hello, Homebrew!/, result end end