Skip to content

Commit

Permalink
Update SupportTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kawax committed Dec 16, 2024
1 parent 2c3f366 commit 782a3b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Feature/Support/SupportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ public function test_varint()
$this->assertSame(0x012C, Varint::decode("\xAC\x02"));
$this->assertSame(0x4000, Varint::decode("\x80\x80\x01"));
$this->assertSame(131, Varint::decode("\x83\x01"));

$this->assertSame(0x4000, Varint::decodeStream(Utils::streamFor("\x80\x80\x01")));
}

public function test_car_basic()
Expand Down

0 comments on commit 782a3b9

Please sign in to comment.