Skip to content

Commit

Permalink
test table len
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Oct 15, 2024
1 parent b2db55f commit 3e0a82e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testdata2.nim
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ proc testCase(theDir: string) =
hdecodeAll(wireBytes, headersDec, ss, bb)
#echo ss
doAssert ss == headers, fname & " wire: " & wire
doAssert headersDec.len <= 72, $headersDec.len
inc checked
#echo checked
if theDir == "nghttp2-16384-4096":
Expand Down Expand Up @@ -83,6 +84,8 @@ proc testCase2(theDir: string, store: Store, huffman: bool) =
doAssert ss == headers
doAssert headersEnc == headersDec
doAssert $headersEnc == $headersDec
doAssert headersEnc.len == headersDec.len
doAssert headersEnc.len <= 72, $headersEnc.len
inc checked
doAssert checked == 3384

Expand Down

0 comments on commit 3e0a82e

Please sign in to comment.