Skip to content

Commit eafd80a

Browse files
committed
Use case insensitive comparison for test groups
1 parent 3a2ade7 commit eafd80a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/UnifiedSpecTests/UnifiedSpecTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
use function array_flip;
1414
use function glob;
1515
use function str_starts_with;
16+
use function strtolower;
1617

1718
/**
1819
* Unified test format spec tests.
@@ -135,7 +136,7 @@ public function setUp(): void
135136
}
136137

137138
foreach (self::$incompleteTestGroups as $testGroup => $reason) {
138-
if (str_starts_with($this->dataDescription(), $testGroup)) {
139+
if (str_starts_with(strtolower($this->dataDescription()), strtolower($testGroup))) {
139140
$this->markTestIncomplete($reason);
140141
}
141142
}

0 commit comments

Comments
 (0)