Skip to content

Commit

Permalink
Update TestCompressedWriterLong
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Oct 2, 2023
1 parent cd14473 commit 9b4f551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/internal/packetio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ func TestCompressedWriterLong(t *testing.T) {
cw.Flush()

// Header:
// 3c 00 00 Compressed length: 60
// 18 00 00 Compressed length: 24
// 00 Packetnr: 0
// 45 00 00 Uncompressed length: 69
compressedLength := []byte{0x3c, 0x0, 0x0}
compressedLength := []byte{0x18, 0x0, 0x0}
packetNr := []byte{0x0}
uncompressedLength := []byte{0x45, 0x0, 0x0}
require.Equal(t, compressedLength, testdata.Bytes()[:3])
Expand Down

0 comments on commit 9b4f551

Please sign in to comment.