Skip to content

Commit 2345810

Browse files
committed
Update utils.test.js
1 parent 8207028 commit 2345810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -787,10 +787,10 @@ describe('utils.js - pathLineSort', () => {
787787
expect( pathLineSort('some/path/file.', 'some/path/file.') ).toEqual(0);
788788
expect( pathLineSort('some/path/file', 'some/path/file') ).toEqual(0);
789789
expect( pathLineSort('some', 'some') ).toEqual(0);
790-
expect( pathLineSort('', '') ).toEqual(0);
791790
});
792791

793792
test('return -1', () => {
793+
expect( pathLineSort('', '') ).toEqual(-1);
794794
expect( pathLineSort('some/path/file.ext:1', 'some/path/file.ext:2') ).toEqual(-1);
795795
expect( pathLineSort('some/path/file.ext', 'some/path/file.ext:10') ).toEqual(-1);
796796
expect( pathLineSort('some/path/file.aaa', 'some/path/file.bbb') ).toEqual(-1);

0 commit comments

Comments
 (0)