diff --git a/expectations.md b/expectations.md index 8a9d182..b35b036 100644 --- a/expectations.md +++ b/expectations.md @@ -107,6 +107,7 @@ With the Pest expectation API, you have access to an extensive collection of ind - [`toHaveSameSize()`](#expect-toHaveSameSize) - [`toBeUrl()`](#expect-toBeUrl) - [`toBeUuid()`](#expect-toBeUuid) +- [`toBeUlid()`](#expect-toBeUlid) @@ -839,6 +840,15 @@ This expectation ensures that `$value` is an UUID. expect('ca0a8228-cdf6-41db-b34b-c2f31485796c')->toBeUuid(); ``` + +### `toBeUlid()` + +This expectation ensures that `$value` is a ULID. + +```php +expect('01ARZ3NDEKTSV4RRFFQ69G5FAV')->toBeUlid(); +``` + ---