Skip to content

Commit

Permalink
test(runtime): update expected values
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Jul 7, 2023
1 parent 3b18cbb commit 46ff8ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime/src/utils/__tests__/printPath.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ describe('printPath util', () => {
});

it('handles whitespaces', () => {
expect(printPath(['a', ' bar ', 'test'], PrintStyle.EscapedPointer)).toEqual('#/a/ bar /test');
expect(printPath(['a', ' ', 'test'], PrintStyle.EscapedPointer)).toEqual('#/a/ /test');
expect(printPath(['a', ' bar ', 'test'], PrintStyle.EscapedPointer)).toEqual('#/a/%20bar%20/test');
expect(printPath(['a', ' ', 'test'], PrintStyle.EscapedPointer)).toEqual('#/a/%20/test');
});

it('escapes slashes', () => {
Expand Down

0 comments on commit 46ff8ff

Please sign in to comment.