Node.js based forum software built for the modern web
sharp test fix
Barış Soner Uşaklıc039a699bd77
diff --git a/test/uploads.js b/test/uploads.jsindex 8e851d153d..5be0818b5e 100644--- a/test/uploads.js+++ b/test/uploads.js@@ -212,7 +212,7 @@ describe('Upload Controllers', () => {assert.ifError(err);assert.strictEqual(res.statusCode, 500);assert(body && body.status && body.status.message);- assert(body.status.message.startsWith('Input file has corrupt header: pngload: end of stream'));+ assert.strictEqual(body.status.message, 'Input file contains unsupported image format');done();});});