Skip to content

Commit

Permalink
test: Fix incorrect test name
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Jul 16, 2023
1 parent 187174a commit 72eb215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Query/Filter/PathField.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('should use whole path with un-escaped slashes in query', () => {
String.raw`path regex matches /a/b/c/d/`,
);

it('should escape backslashes in query automatically', () => {
it('should escape forward slashes in query automatically', () => {
expect(filterWithUnescapedSlashes).toBeValid();
expect(filterWithUnescapedSlashes).toHaveExplanation("using regex: 'a\\/b\\/c\\/d' with no flags");
});
Expand Down

0 comments on commit 72eb215

Please sign in to comment.