Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Oct 19, 2023
1 parent 6e90e61 commit 9a97815
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/DecoderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,18 @@ public static function getDecodeInvalidTests()
'd4',
new DecodingException('Premature end of data', 1)
],
[
'd0',
new DecodingException('Premature end of data', 1)
],
[
'd',
new DecodingException('Premature end of data', 0)
],
[
'dd',
new DecodingException('Illegal character', 1)
],
[
'ld1',
new DecodingException('Premature end of data', 2)
Expand Down

0 comments on commit 9a97815

Please sign in to comment.