Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Apr 9, 2024
1 parent 1fdba79 commit 897261e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/DecoderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public function testMemoryString()
$delta = $after - $before;
$overhead = $delta - $len;

// Test that the overhead was less than 4 KB
$this->assertLessThan(4096, $overhead);
// Test that the overhead was less than ~4.2 KB
$this->assertLessThan(4200, $overhead);
$this->assertEquals($len, strlen($decoded));
}

Expand Down

0 comments on commit 897261e

Please sign in to comment.