diff --git a/Formula/l/lzo.rb b/Formula/l/lzo.rb index c664f0029eb7..119c608cd99b 100644 --- a/Formula/l/lzo.rb +++ b/Formula/l/lzo.rb @@ -38,7 +38,7 @@ def install end test do - (testpath/"test.c").write <<~EOS + (testpath/"test.c").write <<~C #include #include @@ -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