From ac836311005458a10dded324420be92f44976332 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:32 +0100 Subject: generating routes with parameters and tests --- tests/Unit/PathSegmentTypeMatchTest.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/Unit/PathSegmentTypeMatchTest.php (limited to 'tests/Unit/PathSegmentTypeMatchTest.php') diff --git a/tests/Unit/PathSegmentTypeMatchTest.php b/tests/Unit/PathSegmentTypeMatchTest.php new file mode 100644 index 0000000..8a4e70d --- /dev/null +++ b/tests/Unit/PathSegmentTypeMatchTest.php @@ -0,0 +1,14 @@ +expect(fn () => new PathSegmentTypeMatch( + PathSegmentType::Raw, + 'hello' + )) + ->type->toBe(PathSegmentType::Raw) + ->value->toBe('hello'); -- cgit v1.2.3