Skip to content

Commit

Permalink
Fix util test case
Browse files Browse the repository at this point in the history
  • Loading branch information
CMEONE committed Dec 27, 2021
1 parent c3ec743 commit f8ca033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f8ca033

Please sign in to comment.