Skip to content

Commit e0e9a9e

Browse files
authored
xerces-c: Use language-specific heredocs
1 parent 8c17008 commit e0e9a9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/x/xerces-c.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def install
4141
end
4242

4343
test do
44-
(testpath/"ducks.xml").write <<~EOS
44+
(testpath/"ducks.xml").write <<~XML
4545
<?xml version="1.0" encoding="iso-8859-1"?>
4646
4747
<ducks>
@@ -50,7 +50,7 @@ def install
5050
<email>[email protected]</email>
5151
</person>
5252
</ducks>
53-
EOS
53+
XML
5454

5555
output = shell_output("#{bin}/SAXCount #{testpath}/ducks.xml")
5656
assert_match "(6 elems, 1 attrs, 0 spaces, 37 chars)", output

0 commit comments

Comments
 (0)