fix: snapshots feedback

This commit is contained in:
Nuno Maduro
2025-07-06 14:29:18 +01:00
parent 9d0410ee0b
commit 0355119afc
4 changed files with 4 additions and 12 deletions

View File

@ -438,15 +438,7 @@ trait Testable
return;
}
if (count($this->__snapshotChanges) === 1) {
$this->markTestIncomplete($this->__snapshotChanges[0]);
return;
}
$messages = implode(PHP_EOL, array_map(static fn (string $message): string => '- $message', $this->__snapshotChanges));
$this->markTestIncomplete($messages);
$this->markTestIncomplete(implode('. ', $this->__snapshotChanges));
}
/**