mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
BlockTest: throw exception instead of always-false assert
This commit is contained in:
parent
7885b54824
commit
5ad66c3c9b
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user