Don't need buffer for piping data
This commit is contained in:
parent
af05f26a5f
commit
81db8e098e
3 changed files with 26 additions and 47 deletions
|
@ -82,7 +82,7 @@ describe 'protocol module', ->
|
|||
server.listen 0, '127.0.0.1', ->
|
||||
{port} = server.address()
|
||||
url = "http://127.0.0.1:#{port}"
|
||||
job = new protocol.RequestHttpJob(url)
|
||||
job = new protocol.RequestHttpJob({url})
|
||||
handler = remote.createFunctionWithReturnValue job
|
||||
protocol.registerProtocol 'atom-http-job', handler
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue