From b6dffaf785f59202104be57fc53c041a10d3df63 Mon Sep 17 00:00:00 2001 From: Christoper De Leon Date: Fri, 9 Mar 2018 18:41:21 -0500 Subject: [PATCH] stronger unit tests --- test/functional/test-url.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/test-url.js b/test/functional/test-url.js index ddb9f0f4ef8d6..351c94c6b9063 100644 --- a/test/functional/test-url.js +++ b/test/functional/test-url.js @@ -125,6 +125,8 @@ describe('parseUrl', () => { parseUrl(`${url}-${i}`); } const a2 = parseUrl(url); + expect(a1).to.not.equal(parseUrl(url)); + expect(a2).to.equal(parseUrl(url)); expect(a1).to.not.equal(a2); }); it('should handle ports', () => {