Skip to content

Commit 3613dcc

Browse files
authored
swiftformat: Use language-specific heredocs
1 parent 6a77294 commit 3613dcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/s/swiftformat.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ def install
3131
end
3232

3333
test do
34-
(testpath/"potato.swift").write <<~EOS
34+
(testpath/"potato.swift").write <<~SWIFT
3535
struct Potato {
3636
let baked: Bool
3737
}
38-
EOS
38+
SWIFT
3939
system bin/"swiftformat", "#{testpath}/potato.swift"
4040
end
4141
end

0 commit comments

Comments
 (0)