From d5bf7362b9eb81d09b0b45b1686235013dd44921 Mon Sep 17 00:00:00 2001 From: pastak Date: Sat, 24 Nov 2018 16:55:33 +0900 Subject: [PATCH] test: fix the arguments order in assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/24620 Reviewed-By: Anna Henningsen Reviewed-By: Joyee Cheung Reviewed-By: Gireesh Punathil Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Shingo Inoue Reviewed-By: Masashi Hirano --- test/parallel/test-stream-writable-destroy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-stream-writable-destroy.js b/test/parallel/test-stream-writable-destroy.js index 565a5564e2bc29..a88bf9ab2424e7 100644 --- a/test/parallel/test-stream-writable-destroy.js +++ b/test/parallel/test-stream-writable-destroy.js @@ -189,7 +189,7 @@ const { inherits } = require('util'); const expected = new Error('kaboom'); write.destroy(expected, common.mustCall(function(err) { - assert.strictEqual(expected, err); + assert.strictEqual(err, expected); })); }