diff --git a/src/vs/base/test/common/arrays.test.ts b/src/vs/base/test/common/arrays.test.ts index ca7a9bc7996eb9fac8e723450d4f837624b401ea..6368c5b29c5e8b4a2bb8ac52d27ede423affa51b 100644 --- a/src/vs/base/test/common/arrays.test.ts +++ b/src/vs/base/test/common/arrays.test.ts @@ -102,12 +102,12 @@ suite('Arrays', () => { let d = arrays.sortedDiff([1, 2, 4], [], compare); assert.deepEqual(d, [ - { start: 0, deleteCount: 3, inserted: [] } + { start: 0, deleteCount: 3, toInsert: [] } ]); d = arrays.sortedDiff([], [1, 2, 4], compare); assert.deepEqual(d, [ - { start: 0, deleteCount: 0, inserted: [1, 2, 4] } + { start: 0, deleteCount: 0, toInsert: [1, 2, 4] } ]); d = arrays.sortedDiff([1, 2, 4], [1, 2, 4], compare); @@ -115,27 +115,27 @@ suite('Arrays', () => { d = arrays.sortedDiff([1, 2, 4], [2, 3, 4, 5], compare); assert.deepEqual(d, [ - { start: 0, deleteCount: 1, inserted: [] }, - { start: 2, deleteCount: 0, inserted: [3] }, - { start: 3, deleteCount: 0, inserted: [5] }, + { start: 0, deleteCount: 1, toInsert: [] }, + { start: 2, deleteCount: 0, toInsert: [3] }, + { start: 3, deleteCount: 0, toInsert: [5] }, ]); d = arrays.sortedDiff([2, 3, 4, 5], [1, 2, 4], compare); assert.deepEqual(d, [ - { start: 0, deleteCount: 0, inserted: [1] }, - { start: 1, deleteCount: 1, inserted: [] }, - { start: 3, deleteCount: 1, inserted: [] }, + { start: 0, deleteCount: 0, toInsert: [1] }, + { start: 1, deleteCount: 1, toInsert: [] }, + { start: 3, deleteCount: 1, toInsert: [] }, ]); d = arrays.sortedDiff([1, 3, 5, 7], [5, 9, 11], compare); assert.deepEqual(d, [ - { start: 0, deleteCount: 2, inserted: [] }, - { start: 3, deleteCount: 1, inserted: [9, 11] } + { start: 0, deleteCount: 2, toInsert: [] }, + { start: 3, deleteCount: 1, toInsert: [9, 11] } ]); d = arrays.sortedDiff([1, 3, 7], [5, 9, 11], compare); assert.deepEqual(d, [ - { start: 0, deleteCount: 3, inserted: [5, 9, 11] } + { start: 0, deleteCount: 3, toInsert: [5, 9, 11] } ]); });