idris: simplify interpolation

This commit is contained in:
Jack Nagel 2014-11-06 16:40:28 -06:00
parent 2a24b25c26
commit 490f77684b

View file

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