From 4b5e632d0c74b57bb3361d2d5205f93d49228d99 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 15 Dec 2024 11:08:52 -0500 Subject: [PATCH] sbcl: use language-specific heredoc delimiters Signed-off-by: Rui Chen --- Formula/s/sbcl.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/s/sbcl.rb b/Formula/s/sbcl.rb index 67fe65ed39a28..0bbcdea38f9d2 100644 --- a/Formula/s/sbcl.rb +++ b/Formula/s/sbcl.rb @@ -52,17 +52,17 @@ def install SBCL_SOURCE_ROOT: pkgshare/"src", SBCL_HOME: lib/"sbcl" pkgshare.install %w[contrib src] - (lib/"sbcl/sbclrc").write <<~EOS + (lib/"sbcl/sbclrc").write <<~'LISP' (setf (logical-pathname-translations "SYS") '(("SYS:SRC;**;*.*.*" #p"#{pkgshare}/src/**/*.*") ("SYS:CONTRIB;**;*.*.*" #p"#{pkgshare}/contrib/**/*.*"))) - EOS + LISP end test do - (testpath/"simple.sbcl").write <<~EOS + (testpath/"simple.sbcl").write <<~LISP (write-line (write-to-string (+ 2 2))) - EOS + LISP output = shell_output("#{bin}/sbcl --script #{testpath}/simple.sbcl") assert_equal "4", output.strip end