From 40ea8a267f1851cd7e47ba417fbe081fe60b6c0b Mon Sep 17 00:00:00 2001 From: lion Date: Mon, 13 Oct 2025 22:35:51 +0800 Subject: [PATCH] remove the debug checks --- binding/javascript/tests/ip.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/javascript/tests/ip.test.js b/binding/javascript/tests/ip.test.js index 2e78433..66f43c0 100644 --- a/binding/javascript/tests/ip.test.js +++ b/binding/javascript/tests/ip.test.js @@ -23,8 +23,8 @@ test('parse ip address', () => { return; } - let to_Str = ipBytes == null ? '0' : util.ipToString(ipBytes, true); - let toByte = ipBytes == null ? '0' : util.ipBytesString(ipBytes); + let to_Str = util.ipToString(ipBytes, true); + let toByte = util.ipBytesString(ipBytes); console.log(`parseIP(${ipString}): {Bytes: ${toByte}, String: ${to_Str}}`); expect(ipString).toBe(to_Str); });