Skip to content

Commit 61fac8d

Browse files
authored
xml-coreutils: Use language-specific heredocs
1 parent e0e9a9e commit 61fac8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/x/xml-coreutils.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ def install
3535
end
3636

3737
test do
38-
(testpath/"test.xml").write <<~EOS
38+
(testpath/"test.xml").write <<~XML
3939
<hello>world!</hello>
40-
EOS
40+
XML
4141
assert_match(/0\s+1\s+1/, shell_output("#{bin}/xml-wc test.xml"))
4242
end
4343
end

0 commit comments

Comments
 (0)