diff options
author | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:26:15 +0100 |
---|---|---|
committer | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 12:26:15 +0100 |
commit | 5f2b708377aec4bc5f1d731dfbb50557552d0482 (patch) | |
tree | 7faecd8bb938368bdb5ce825f716b8935ea10898 /tests | |
parent | 2b3469a29cb78f07500ea929dfae97570235cd9c (diff) | |
download | planet-5f2b708377aec4bc5f1d731dfbb50557552d0482.tar planet-5f2b708377aec4bc5f1d731dfbb50557552d0482.tar.gz planet-5f2b708377aec4bc5f1d731dfbb50557552d0482.tar.bz2 planet-5f2b708377aec4bc5f1d731dfbb50557552d0482.tar.xz planet-5f2b708377aec4bc5f1d731dfbb50557552d0482.zip |
Remove unneeded polyfills
Diffstat (limited to 'tests')
-rw-r--r-- | tests/HelpersTest.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/HelpersTest.php b/tests/HelpersTest.php index 141e604..d0dcdda 100644 --- a/tests/HelpersTest.php +++ b/tests/HelpersTest.php @@ -4,12 +4,5 @@ use PHPUnit\Framework\TestCase; class HelpersTest extends TestCase { - function test_constant_time_compare() - { - $this->assertTrue(_hash_equals('abc', 'abc')); - $this->assertFalse(_hash_equals('abc', 'ab')); - $this->assertFalse(_hash_equals('ab', 'abc')); - $this->assertFalse(_hash_equals('abcd', 'adbc')); - $this->assertFalse(_hash_equals(0, 0)); - } + } |