From f8ca0335d3024fc329bf50c1f3bd5463fce4ff13 Mon Sep 17 00:00:00 2001 From: CMEONE Date: Mon, 27 Dec 2021 19:19:35 -0300 Subject: [PATCH] Fix util test case --- test/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/util.js b/test/util.js index c9c0e458..10da5122 100644 --- a/test/util.js +++ b/test/util.js @@ -385,8 +385,8 @@ describe("Utility Tests", function() { let actual8 = envoy.util.unpack(new Uint8Array([3, 1, 0])); assert.deepEqual(expected8, actual8); - let expected9 = NaN; - let actual9 = envoy.util.unpack(new Uint8Array([7, 0])); + let expected9 = true; + let actual9 = isNaN(envoy.util.unpack(new Uint8Array([7, 0]))); assert.deepEqual(expected9, actual9); let expected10 = 1.1;