@@ -140,8 +140,8 @@ func TestBufferRandomized(t *testing.T) {
140140 }
141141}
142142
143- func TestMinlzEncodingLimit (t * testing.T ) {
144- // Tests that Minlz compression has a strict limit of minlz.MaxBlockSize: 8<<20 (8MiB)
143+ func TestMinLZEncodingLimit (t * testing.T ) {
144+ // Tests that MinLZ compression has a strict limit of minlz.MaxBlockSize: 8<<20 (8MiB)
145145 _ , err := minlz .Encode ([]byte {}, bytes .Repeat ([]byte {0 }, minlz .MaxBlockSize - 1 ), minlz .LevelFastest )
146146 require .NoError (t , err )
147147 _ , err = minlz .Encode ([]byte {}, bytes .Repeat ([]byte {0 }, minlz .MaxBlockSize ), minlz .LevelFastest )
@@ -151,12 +151,12 @@ func TestMinlzEncodingLimit(t *testing.T) {
151151 require .Fail (t , "Expected minlz.ErrTooLarge Error" )
152152 }
153153
154- c := GetCompressor (MinlzCompression )
154+ c := GetCompressor (MinLZCompression )
155155 defer c .Close ()
156156 algo , _ := c .Compress ([]byte {}, bytes .Repeat ([]byte {0 }, minlz .MaxBlockSize - 1 ))
157- require .Equal (t , algo , MinlzCompressionIndicator )
157+ require .Equal (t , algo , MinLZCompressionIndicator )
158158 algo , _ = c .Compress ([]byte {}, bytes .Repeat ([]byte {0 }, minlz .MaxBlockSize ))
159- require .Equal (t , algo , MinlzCompressionIndicator )
159+ require .Equal (t , algo , MinLZCompressionIndicator )
160160 algo , _ = c .Compress ([]byte {}, bytes .Repeat ([]byte {0 }, minlz .MaxBlockSize + 1 ))
161161 require .Equal (t , algo , SnappyCompressionIndicator )
162162}
0 commit comments