diff --git a/tests/Unit/Crypt/RSA/LoadKeyTest.php b/tests/Unit/Crypt/RSA/LoadKeyTest.php index cbbfaff8..6506c478 100644 --- a/tests/Unit/Crypt/RSA/LoadKeyTest.php +++ b/tests/Unit/Crypt/RSA/LoadKeyTest.php @@ -278,7 +278,7 @@ Ao8eayMp6FcvNucIpUndo1X8dKMv3Y26ZQIDAQAB $rsa->setPublicKey(); $newkey = $rsa->getPublicKey(CRYPT_RSA_PUBLIC_FORMAT_XML); - $this->assertSame(preg_replace('#\s\', '', $key), preg_replace('#\s\', '', $newkey)); + $this->assertSame(preg_replace('#\s#', '', $key), preg_replace('#\s#', '', $newkey)); } /** @@ -299,6 +299,6 @@ JWrQdxx/WNN+ABG426rgYYbeGcIlWLZCw6Bx/1HtN5ef6nVEoiGNChYKIRB4QFOi $rsa->setPublicKey(); $newkey = $rsa->getPublicKey(); - $this->assertSame(preg_replace('#\s\', '', $key), preg_replace('#\s\', '', $newkey)); + $this->assertSame(preg_replace('#\s#', '', $key), preg_replace('#\s#', '', $newkey)); } }