Skip to content

Commit c692ca0

Browse files
committed
more hash tests
1 parent a82932c commit c692ca0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/vs/base/test/common/hash.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ suite('Hash', () => {
5858

5959
test('all different', () => {
6060
const candidates: any[] = [
61-
null, undefined, {}, [], 0, false, true, '', ' ', [null], [undefined], [undefined, undefined], { '': undefined }, { [' ']: undefined }
61+
null, undefined, {}, [], 0, false, true, '', ' ', [null], [undefined], [undefined, undefined], { '': undefined }, { [' ']: undefined },
62+
'ab', 'ba', ['ab']
6263
];
6364
const hashes: number[] = candidates.map(hash);
6465
for (let i = 0; i < hashes.length; i++) {

0 commit comments

Comments
 (0)