Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function testTableNotClosed(): void
$context = $this->createContext($input);
$this->rule->apply($context);

$this->logger->hasError('Malformed table');
self::assertTrue($this->logger->hasErrorThatContains('Malformed table'));
}

public function testErrorMultipleHeaderRows(): void
Expand All @@ -290,7 +290,7 @@ public function testErrorMultipleHeaderRows(): void
$context = $this->createContext($input);
$this->rule->apply($context);

$this->logger->hasError('Malformed table: multiple "header rows" using "===" were found');
self::assertTrue($this->logger->hasErrorThatContains('Malformed table: multiple "header rows" using "===" were found'));
}

public function testNotEndingWithWhiteLine(): never
Expand All @@ -312,6 +312,6 @@ public function testNotEndingWithWhiteLine(): never
$context = $this->createContext($input);
$this->rule->apply($context);

$this->logger->hasError('Malformed table: multiple "header rows" using "===" were found');
self::assertTrue($this->logger->hasErrorThatContains('Malformed table: multiple "header rows" using "===" were found'));
}
}