diff --git a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php index 4d69374..7720e30 100644 --- a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php @@ -325,7 +325,7 @@ public function providerSortByTitleProperty() { */ protected function assertBothNegativePositiveOrZero($expected, $result) { $this->assertTrue(is_numeric($expected) && is_numeric($result), 'Parameters are numeric.'); - $this->assertTrue(($expected < 0 && $result < 0) || ($expected > 0 && $result > 0) || ($expected === 0 && $result === 0), 'Numbers are not either both negative, both positive or both zero.'); + $this->assertTrue(($expected < 0 && $result < 0) || ($expected > 0 && $result > 0) || ($expected === 0 && $result === 0), 'Numbers are either both negative, both positive or both zero.'); } }