Skip to content

Commit

Permalink
ol: use language-specific heredoc delimiters
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 15, 2024
1 parent 20d34f7 commit 1d1ee3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/o/ol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def install
end

test do
(testpath/"gcd.ol").write <<~EOS
(testpath/"gcd.ol").write <<~LISP
(print (gcd 1071 1029))
EOS
LISP
assert_equal "21", shell_output("#{bin}/ol gcd.ol").strip
end
end

0 comments on commit 1d1ee3c

Please sign in to comment.