mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
BlockTest: throw exception instead of always-false assert
This commit is contained in:
@ -62,7 +62,7 @@ class BlockTest extends TestCase{
|
||||
}
|
||||
}
|
||||
|
||||
self::assertTrue(false, "Can't test registering new blocks because no unused spaces left");
|
||||
throw new \RuntimeException("Can't test registering new blocks because no unused spaces left");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user