mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Fix a lzw_decoder bug.
This commit is contained in:
1 parent
f403d0faa8
commit
2fd08e0cf8
3 files changed
+2
-5
No files matched your search
@@ -64,12 +64,9 @@ void test_lzw_decode() {
|
||||
goto cleanup1;
|
||||
}
|
||||
|
||||
/*
|
||||
TODO: fix the bug and uncomment this test.
|
||||
if (!buf1s_equal(&got, &want)) {
|
||||
goto cleanup1;
|
||||
}
|
||||
*/
|
||||
// As a sanity check, the first decoded byte should be 0xDC.
|
||||
if (got.ptr[0] != 0xDC) {
|
||||
FAIL("first decoded byte: got 0x%02x, want 0x%02x", (int)(got.ptr[0]),
|
||||
|
||||
Reference in new issue
Block a user