From 170ea93f383271dee36f49bf5cfd6afe09ba0e39 Mon Sep 17 00:00:00 2001 From: Reinier Cruz Date: Mon, 19 Aug 2024 20:13:45 +0000 Subject: [PATCH] Uncommenting line --- src/tests/suite/TcpDumpPanel.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/suite/TcpDumpPanel.test.ts b/src/tests/suite/TcpDumpPanel.test.ts index 5bbfc312b..dfbee1e65 100644 --- a/src/tests/suite/TcpDumpPanel.test.ts +++ b/src/tests/suite/TcpDumpPanel.test.ts @@ -21,8 +21,8 @@ describe("testEscapeRegExp", function () { }); it("should not double escape already escaped characters", function () { - //const input = "a\\.b\\*c\\?d\\+e\\^f\\$g\\|h\\(i\\)j\\{k\\}l\\[m\\]n\\\\o"; + const input = "a\\.b\\*c\\?d\\+e\\^f\\$g\\|h\\(i\\)j\\{k\\}l\\[m\\]n\\\\o"; const expected = "a\\.b\\*c\\?d\\+e\\^f\\$g\\|h\\(i\\)j\\{k\\}l\\[m\\]n\\\\o"; - assert.equal("", expected); + assert.equal("escapeRegExp(input)", expected); }); });