Skip to content

Commit eacab62

Browse files
authored
uvicorn: Use language-specific heredocs
1 parent e4aabd0 commit eacab62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/u/uvicorn.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def install
8383
end
8484

8585
test do
86-
(testpath/"example.py").write <<~EOS
86+
(testpath/"example.py").write <<~PYTHON
8787
async def app(scope, receive, send):
8888
assert scope['type'] == 'http'
8989
@@ -98,7 +98,7 @@ def install
9898
'type': 'http.response.body',
9999
'body': b'Hello, Homebrew!',
100100
})
101-
EOS
101+
PYTHON
102102

103103
port = free_port
104104
pid = fork do

0 commit comments

Comments
 (0)