Skip to content

Commit 208168d

Browse files
committed
v2ray: Use language-specific heredoc delimiters
1 parent 400cb24 commit 208168d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/v/v2ray.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def install
6565
end
6666

6767
test do
68-
(testpath/"config.json").write <<~EOS
68+
(testpath/"config.json").write <<~JSON
6969
{
7070
"log": {
7171
"access": "#{testpath}/log"
@@ -95,7 +95,7 @@ def install
9595
]
9696
}
9797
}
98-
EOS
98+
JSON
9999
output = shell_output "#{bin}/v2ray test -c #{testpath}/config.json"
100100

101101
assert_match "Configuration OK", output

0 commit comments

Comments
 (0)