Skip to content

Commit

Permalink
Update utils.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vHeemstra committed Jun 5, 2022
1 parent 8207028 commit 2345810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -787,10 +787,10 @@ describe('utils.js - pathLineSort', () => {
expect( pathLineSort('some/path/file.', 'some/path/file.') ).toEqual(0);
expect( pathLineSort('some/path/file', 'some/path/file') ).toEqual(0);
expect( pathLineSort('some', 'some') ).toEqual(0);
expect( pathLineSort('', '') ).toEqual(0);
});

test('return -1', () => {
expect( pathLineSort('', '') ).toEqual(-1);
expect( pathLineSort('some/path/file.ext:1', 'some/path/file.ext:2') ).toEqual(-1);
expect( pathLineSort('some/path/file.ext', 'some/path/file.ext:10') ).toEqual(-1);
expect( pathLineSort('some/path/file.aaa', 'some/path/file.bbb') ).toEqual(-1);
Expand Down

0 comments on commit 2345810

Please sign in to comment.