blob: 8a4e70d70c65fbfa22af583ff7adbd028f13cfd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
declare(strict_types=1);
use Lightscale\Router\Enums\PathSegmentType;
use Lightscale\Router\PathSegmentTypeMatch;
it('initializes with data')
->expect(fn () => new PathSegmentTypeMatch(
PathSegmentType::Raw,
'hello'
))
->type->toBe(PathSegmentType::Raw)
->value->toBe('hello');
|