diff --git a/tests/DataStructures/SplayTreeTest.php b/tests/DataStructures/SplayTreeTest.php index 7709cf2..9c33ffa 100644 --- a/tests/DataStructures/SplayTreeTest.php +++ b/tests/DataStructures/SplayTreeTest.php @@ -259,7 +259,7 @@ public function testSearchExistingKey() $node = $this->tree->search(22); $this->assertNotNull($node, "Returned node cannot be Null."); - $this->assertNull($node->parent, "The searched node must have become the new root with has no parent"); + $this->assertNull($node->parent, "The searched node must have become the new root which has no parent"); $this->assertTrue( $node->isRoot(), "The searched node must have become the new root. Failed to splay it correctly."