From 38118172906af7079b3e2e3acd9fa52ee58a6185 Mon Sep 17 00:00:00 2001 From: VeysonD Date: Sat, 24 Nov 2018 17:01:03 +0900 Subject: [PATCH] test: update strictEqual argument order PR-URL: https://github.com/nodejs/node/pull/24622 Reviewed-By: Anna Henningsen Reviewed-By: Joyee Cheung Reviewed-By: Gireesh Punathil Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- test/parallel/test-stream-readable-destroy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-stream-readable-destroy.js b/test/parallel/test-stream-readable-destroy.js index 026aa8ca1603b8..a1407192e495c7 100644 --- a/test/parallel/test-stream-readable-destroy.js +++ b/test/parallel/test-stream-readable-destroy.js @@ -176,7 +176,7 @@ const { inherits } = require('util'); read.on('close', common.mustCall()); read.destroy(expected, common.mustCall(function(err) { - assert.strictEqual(expected, err); + assert.strictEqual(err, expected); })); }