Skip to content

Commit 39f8ac9

Browse files
authored
zmqpp: Use language-specific heredocs
1 parent d80aa72 commit 39f8ac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/z/zmqpp.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ def install
3737
end
3838

3939
test do
40-
(testpath/"test.cpp").write <<~EOS
40+
(testpath/"test.cpp").write <<~CPP
4141
#include <zmqpp/zmqpp.hpp>
4242
int main() {
4343
zmqpp::frame frame;
4444
return 0;
4545
}
46-
EOS
46+
CPP
4747
system ENV.cxx, "test.cpp", "-L#{lib}", "-lzmqpp", "-o", "test", "-std=c++11"
4848
system "./test"
4949
end

0 commit comments

Comments
 (0)