Skip to content

Commit

Permalink
Updated SpinlockMutexTest to expect a ExecutionOutsideLockException.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLevti committed May 25, 2018
1 parent ad3f16c commit 7e15db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mutex/SpinlockMutexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function testAcquireTimesOut()
* Tests executing code which exceeds the timeout fails.
*
* @test
* @expectedException malkusch\lock\exception\LockReleaseException
* @expectedException malkusch\lock\exception\ExecutionOutsideLockException
*/
public function testExecuteTooLong()
{
Expand Down

0 comments on commit 7e15db9

Please sign in to comment.