Upstream spatie/period state of the touched files before f717c7c624

This commit is contained in:
upstream committed 2026-09-04 03:06:24 +02:00
1 parent 67bae2d40e
commit a0a637fda7
3 files changed
+1 -28

No files matched your search

-6
View File
@@ -11,12 +11,6 @@ it('can determine the period length', function () {
expect($period->length())->toEqual(15);
});
it('returns a length of 0 for an empty period, consistent with its iterator', function (Period $period) {
expect($period->includedStart())->toBeGreaterThan($period->includedEnd());
expect($period->length())->toEqual(0);
expect($period->length())->toEqual(iterator_count($period));
})->with('empty_period_lengths');
it('can renew a period', function () {
$period = Period::make('2018-01-01', '2018-01-15');