diff --git a/modules/simpletest/tests/password.test b/modules/simpletest/tests/password.test
index 7105f3b7add0db0e878d3901b50025484609ba2a..489b191fad7f716d5c1701e2d86e9f5c0d1c10b0 100644
--- a/modules/simpletest/tests/password.test
+++ b/modules/simpletest/tests/password.test
@@ -73,6 +73,7 @@ class PasswordHashingTest extends DrupalWebTestCase {
     $result = user_hash_password($password);
     $this->assertFalse(empty($result), '510 byte long password is allowed.');
     $password .= 'xx';
+    $result = user_hash_password($password);
     $this->assertFalse(empty($result), '512 byte long password is allowed.');
     $password = str_repeat('€', 171);
     $result = user_hash_password($password);