Skip to content

Commit 6283d44

Browse files
authored
Merge pull request #233803 from Homebrew/libabw-eos
libabw: use XML heredoc delimiter
2 parents ee25041 + 2a7f04c commit 6283d44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/lib/libabw.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/"test.abw").write <<~EOS
44+
(testpath/"test.abw").write <<~XML
4545
<?xml version="1.0" encoding="UTF-8"?>
4646
<!DOCTYPE abiword PUBLIC "-//ABISOURCE//DTD AWML 1.0 Strict//EN"
4747
"http://www.abisource.com/awml.dtd">
@@ -84,7 +84,7 @@ def install
8484
lang:en-US">word</c><c props="lang:en-US"> is bold.</c></p>
8585
</section>
8686
</abiword>
87-
EOS
87+
XML
8888

8989
(testpath/"test.cpp").write <<~CPP
9090
#include <stdio.h>

0 commit comments

Comments
 (0)