rename contents to iterator

This commit is contained in:
Jörg Breitbart
2018-09-14 13:22:02 +02:00
parent 9514bfd31c
commit 8664f54a76
5 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -322,8 +322,8 @@ export class MockBuffer implements IBuffer {
stringIndexToBufferIndex(lineIndex: number, stringIndex: number): number[] {
return Buffer.prototype.stringIndexToBufferIndex.apply(this, arguments);
}
contents(trimRight: boolean, startIndex?: number, endIndex?: number): IBufferStringIterator {
return Buffer.prototype.contents.apply(this, arguments);
iterator(trimRight: boolean, startIndex?: number, endIndex?: number): IBufferStringIterator {
return Buffer.prototype.iterator.apply(this, arguments);
}
}