Skip to content

Commit

Permalink
lzo: Use language-specific heredoc delimiters
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Oct 21, 2024
1 parent 15fce29 commit 48d8180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/l/lzo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def install
end

test do
(testpath/"test.c").write <<~EOS
(testpath/"test.c").write <<~C
#include <lzo/lzoconf.h>
#include <stdio.h>
Expand All @@ -48,7 +48,7 @@ def install
LZO_VERSION_STRING);
return 0;
}
EOS
C
system ENV.cc, "test.c", "-I#{include}", "-L#{lib}", "-o", "test"
assert_match "Testing LZO v#{version} in Homebrew.", shell_output("./test")
end
Expand Down

0 comments on commit 48d8180

Please sign in to comment.