Rewrite assertionFailure using “Expected…” form.

This commit is contained in:
Brent Simmons 2017-10-21 16:32:03 -07:00
parent 7bf1847588
commit 39c74249af

View File

@ -49,7 +49,7 @@ private extension BatchUpdate {
if count < 1 {
if count < 0 {
assertionFailure("Batch updates count should never be below 0.")
assertionFailure("Expected batch updates count to be 0 or greater.")
count = 0
}