From 9248660efde0c837959a2609a6f3014c53f449d2 Mon Sep 17 00:00:00 2001 From: joehecn Date: Sat, 29 Apr 2017 10:30:24 +0800 Subject: [PATCH] test: fix spelling error (#972) --- test/response/{writeable.js => writable.js} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename test/response/{writeable.js => writable.js} (97%) diff --git a/test/response/writeable.js b/test/response/writable.js similarity index 97% rename from test/response/writeable.js rename to test/response/writable.js index ff1f89d..23852dc 100644 --- a/test/response/writeable.js +++ b/test/response/writable.js @@ -39,7 +39,7 @@ describe('res.writable', () => { }); describe('when socket closed before response sent', () => { - function requsetClosed(server){ + function requestClosed(server){ const port = server.address().port; const buf = Buffer.from('GET / HTTP/1.1\r\nHost: localhost:' + port + '\r\nConnection: keep-alive\r\n\r\n'); const client = net.connect(port); @@ -59,7 +59,7 @@ describe('res.writable', () => { }); }); const server = app.listen(); - requsetClosed(server); + requestClosed(server); }); });