Skip to content

Commit dd4ec06

Browse files
committed
fix regex pattern in test
1 parent ba820c5 commit dd4ec06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase/ToolbarServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public function testSaveData()
260260
$this->assertSame('Timer', $result->panels[11]->panel);
261261
$this->assertSame('DebugKit.timer_panel', $result->panels[11]->element);
262262
$this->assertMatchesRegularExpression(
263-
'/\d+\.\d+\s[ms]+\s+\/\s+\d+\.\d+\s+[mbMB]+/',
263+
'/\d+\.\d+\s[ms]+\s+\/\s+\d+\.?\d+\s+[mbMB]+/',
264264
$result->panels[11]->summary
265265
);
266266
$this->assertSame('Timer', $result->panels[11]->title);

0 commit comments

Comments
 (0)