Skip to content

Commit 30c70c4

Browse files
authored
lizard-analyzer: Use language-specific heredocs
1 parent 395bc00 commit 30c70c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/l/lizard-analyzer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def install
2525
end
2626

2727
test do
28-
(testpath/"test.swift").write <<~EOS
28+
(testpath/"test.swift").write <<~SWIFT
2929
let base = 2
3030
let exponent_inner = 3
3131
let exponent_outer = 4
@@ -36,7 +36,7 @@ def install
3636
answer *= base
3737
}
3838
}
39-
EOS
39+
SWIFT
4040

4141
assert_match "1 file analyzed.", shell_output("#{bin}/lizard -l swift #{testpath}/test.swift")
4242
end

0 commit comments

Comments
 (0)