Upstream spatie/period state of the touched files before f2bcd9f5d3

This commit is contained in:
upstream committed 2026-09-03 14:39:22 +02:00
1 parent 9086ebcaab
commit 79eb344eb0
3 files changed
+1 -45

No files matched your search

-5
View File
@@ -35,11 +35,6 @@ it('length with boundaries', function ($expectedAmount, Period $period) {
expect($period->length())->toEqual($expectedAmount);
})->with('periods_with_amounts_of_included_dates');
it('length is zero when excluding boundaries leaves nothing', function (Period $period) {
expect(iterator_count($period))->toEqual(0);
expect($period->length())->toEqual(0);
})->with('periods_left_empty_by_excluded_boundaries');
it('overlap with excluded boundaries', function () {
$a = Period::make('2018-01-01', '2018-01-05', boundaries: Boundaries::EXCLUDE_END());
$b = Period::make('2018-01-05', '2018-01-10');