mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
fix test
This commit is contained in:
@@ -61,6 +61,6 @@ class UtilsTest extends TestCase{
|
|||||||
|
|
||||||
public function testNamespacedNiceClosureName() : void{
|
public function testNamespacedNiceClosureName() : void{
|
||||||
//be careful with this test. The closure has to be declared on the same line as the assertion.
|
//be careful with this test. The closure has to be declared on the same line as the assertion.
|
||||||
self::assertSame('closure@' . Utils::cleanPath(__FILE__) . '#L' . __LINE__, Utils::getNiceClosureName(function(){}));
|
self::assertSame('closure@' . Filesystem::cleanPath(__FILE__) . '#L' . __LINE__, Utils::getNiceClosureName(function(){}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user