Skip to content

Commit

Permalink
Uncommenting line
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinier Cruz committed Aug 19, 2024
1 parent 8367759 commit 170ea93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/suite/TcpDumpPanel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Check failure on line 24 in src/tests/suite/TcpDumpPanel.test.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest)

'input' is declared but its value is never read.

Check failure on line 24 in src/tests/suite/TcpDumpPanel.test.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

'input' is declared but its value is never read.
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);
});
});

0 comments on commit 170ea93

Please sign in to comment.