From 167065e2350fcb58fbfb7f4d8be03f8a9d30997f Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Fri, 23 Nov 2018 23:49:11 -0500 Subject: [PATCH] chore: ensure piped body is exactly the same (#3064) --- tests/test-pipes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-pipes.js b/tests/test-pipes.js index adeaa5006..dab7cb311 100644 --- a/tests/test-pipes.js +++ b/tests/test-pipes.js @@ -295,7 +295,7 @@ tape('one-line proxy', function (t) { }, function (err, res, body) { t.equal(err, null) t.equal(res.headers['x-oneline-proxy'], 'yup') - t.notEqual(body, null) + t.equal(body, fs.readFileSync(path.join(__dirname, 'googledoodle.jpg')).toString()) t.end() }) })