From 87e4acd4fd00bb486dbe1ed22078adc2cd64db45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 24 Oct 2021 21:47:17 +0000 Subject: [PATCH] test: use conventional argument order in assertion --- test/parallel/test-buffer-fill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-buffer-fill.js b/test/parallel/test-buffer-fill.js index 00e65c82e91849..e91492a59e81b3 100644 --- a/test/parallel/test-buffer-fill.js +++ b/test/parallel/test-buffer-fill.js @@ -315,7 +315,7 @@ Buffer.alloc(8, ''); buf.fill('h'); for (let i = 0; i < buf.length; i++) - assert.strictEqual('h'.charCodeAt(0), buf[i]); + assert.strictEqual(buf[i], 'h'.charCodeAt(0)); buf.fill(0); for (let i = 0; i < buf.length; i++)