Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
assert -> invariant
Browse files Browse the repository at this point in the history
  • Loading branch information
jjergus committed Dec 21, 2020
1 parent 192fb91 commit 012fd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unparsed-blocks/TableExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public static function consume(
$data[] = Vec\take($row, $column_count);
continue;
}
assert($count < $column_count);
invariant($count < $column_count, 'should have `continue;`-d');
$data[] = Vec\concat(
$row,
Vec\fill($column_count - $count, ''),
Expand Down

0 comments on commit 012fd9d

Please sign in to comment.