Skip to content

Commit

Permalink
FIX: skip system dependent header part in GZIP test
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Nov 16, 2018
1 parent 57cc085 commit d4e023c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tests/units/compress-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ data: "test test test"
--assert data = to string! decompress/gzip compress/gzip data

--test-- "GZIP compress/decompress while specifing level of compression"
--assert (compress/gzip/level "" 0) =
#{1F8B080000000000040A010000FFFF0000000000000000}
--assert (compress/gzip/level data 0) =
#{1F8B080000000000040A010E00F1FF7465737420746573742074657374026A5B230E000000}
--assert (skip compress/gzip/level "" 0 10) =
#{010000FFFF0000000000000000}
--assert (skip compress/gzip/level data 0 10) =
#{010E00F1FF7465737420746573742074657374026A5B230E000000}
--assert data = to string! decompress/gzip compress/gzip/level data 0
--assert data = to string! decompress/gzip compress/gzip/level data 1
--assert data = to string! decompress/gzip compress/gzip/level data 2
Expand Down

0 comments on commit d4e023c

Please sign in to comment.