Skip to content

Commit

Permalink
Added test
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Jun 6, 2023
1 parent 0c21631 commit 370928a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/DecoderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ public static function getDecodeTests()
'd6:Lengthi1e4:Pathi2e6:lengthi3e4:pathi4ee',
new ArrayObject(['Length' => 1, 'Path' => 2, 'length' => 3, 'path' => 4])
],
[
'd8:announcei1e8:xxxxxxxx8:xxxxxxxxe',
new ArrayObject(['announce' => 1, 'xxxxxxxx' => 'xxxxxxxx'])
],
];
}

Expand Down

0 comments on commit 370928a

Please sign in to comment.