idris: simplify interpolation
This commit is contained in:
parent
2a24b25c26
commit
490f77684b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue