mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
Fix unit tests to accommodate exceptionally long-running tests
This commit is contained in:
parent
15a0c591dc
commit
8b55959880
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ class TimerTest extends \Codeception\TestCase\Test
|
|||
$t1 = Rhymix\Framework\Timer::start();
|
||||
$t2 = Rhymix\Framework\Timer::stopFormat();
|
||||
|
||||
$this->assertRegexp('/^[0-9\.]+ms$/', $t2);
|
||||
$this->assertRegexp('/^[0-9\.,]+ms$/', $t2);
|
||||
}
|
||||
|
||||
function testTimerSinceStartup()
|
||||
|
|
@ -58,6 +58,6 @@ class TimerTest extends \Codeception\TestCase\Test
|
|||
$this->assertGreaterThanOrEqual($t1, $t2);
|
||||
|
||||
$t3 = Rhymix\Framework\Timer::sinceStartupFormat();
|
||||
$this->assertRegexp('/^[0-9\.]+ms$/', $t3);
|
||||
$this->assertRegexp('/^[0-9\.,]+ms$/', $t3);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue