From ff27e1bedfb7c11b311510cf23e73e045f6983b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Mon, 25 Jul 2022 12:29:21 +0300 Subject: [PATCH] test --- test/index.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/index.js b/test/index.js index 98b0a38..2772285 100644 --- a/test/index.js +++ b/test/index.js @@ -88,6 +88,20 @@ const INPUTS = [ , query: {} } ] + , [ + ["file:///etc/passwd?#http://a:1:1", false] + , { + protocols: [ "file" ] + , protocol: "file" + , port: "" + , resource: "" + , user: "" + , pathname: "/etc/passwd" + , hash: "http://a:1:1" + , search: "" + , query: {} + } + ] ]; tester.describe("check urls", test => {