18 lines
367 B
PHP
18 lines
367 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Support\Diff\DiffRowStatus;
|
|
|
|
it('defines the canonical shared diff row states', function (): void {
|
|
expect(array_map(
|
|
static fn (DiffRowStatus $status): string => $status->value,
|
|
DiffRowStatus::cases(),
|
|
))->toBe([
|
|
'unchanged',
|
|
'changed',
|
|
'added',
|
|
'removed',
|
|
]);
|
|
});
|