From 8ee3420f0fa064fe8bd6476492cc928f1833f90e Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 20 Feb 2022 23:43:02 -0500 Subject: [PATCH] tests: fix req.acceptsEncodings tests --- test/req.acceptsEncodings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/req.acceptsEncodings.js b/test/req.acceptsEncodings.js index c3693429..9f8973cd 100644 --- a/test/req.acceptsEncodings.js +++ b/test/req.acceptsEncodings.js @@ -10,8 +10,8 @@ describe('req', function(){ app.get('/', function (req, res) { res.send({ - gzip: req.acceptsEncoding('gzip'), - deflate: req.acceptsEncoding('deflate') + gzip: req.acceptsEncodings('gzip'), + deflate: req.acceptsEncodings('deflate') }) }) @@ -26,7 +26,7 @@ describe('req', function(){ app.get('/', function (req, res) { res.send({ - bogus: req.acceptsEncoding('bogus') + bogus: req.acceptsEncodings('bogus') }) })