Skip to content

Commit 62cd4c5

Browse files
authored
add logging to understand why/how test sometimes fails, microsoft#154237 (microsoft#154514)
1 parent 6ff764c commit 62cd4c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,12 +852,12 @@ suite('Map', () => {
852852

853853
for (const item of keys) {
854854
tst.set(item, true);
855-
assert.ok(tst._isBalanced());
855+
assert.ok(tst._isBalanced(), `SET${item}|${keys.map(String).join()}`);
856856
}
857857

858858
for (const item of keys) {
859859
tst.delete(item);
860-
assert.ok(tst._isBalanced());
860+
assert.ok(tst._isBalanced(), `DEL${item}|${keys.map(String).join()}`);
861861
}
862862
}
863863
});

0 commit comments

Comments
 (0)