Skip to content

Commit 1b0bed9

Browse files
committed
Minor clean up of param name
1 parent 4bd72c9 commit 1b0bed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/testcontainers/src/wait-strategies/log-wait-strategy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export class LogWaitStrategy extends AbstractWaitStrategy {
4242
this.throwError(container.id, `Log stream ended and message "${this.message}" was not received`);
4343
}
4444

45-
matches(chunk: string): boolean {
46-
return this.message instanceof RegExp ? this.message.test(chunk) : chunk.includes(this.message);
45+
matches(line: string): boolean {
46+
return this.message instanceof RegExp ? this.message.test(line) : line.includes(this.message);
4747
}
4848

4949
throwError(containerId: string, message: string): void {

0 commit comments

Comments
 (0)