mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Increase cgolz4 Writer buf len for older lz4 libs
This commit is contained in:
1 parent
6f7e9dfa26
commit
7d4a3a127d
2 files changed
+13
-1
No files matched your search
@@ -89,3 +89,9 @@ func TestRoundTrip(tt *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestWriterBufIsLargeEnough(tt *testing.T) {
|
||||
if m := minDstLenForBlockMaxLen(); writerBufLen < m {
|
||||
tt.Fatalf("writerBufLen: got %d, want >= %d", writerBufLen, m)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user