srctree

Robin Linden parent 92b07232 0e0741c1
img/qoi: Remove extra bytes after 0x0 test image

This only worked because we haven't implemented reading the qoiend-of-stream marker yet.

inlinesplit
img/qoi_test.cpp added: 2, removed: 2, total 0
@@ -99,7 +99,7 @@ int main() {
});
 
etest::test("0x0 image", [] {
expect_eq(Qoi::from(std::stringstream{"qoif\0\0\0\0\0\0\0\0\3\1\xfe\1\2\3\xfe\6\5\4"s}), Qoi{}); //
expect_eq(Qoi::from(std::stringstream{"qoif\0\0\0\0\0\0\0\0\3\1"s}), Qoi{}); //
});
 
etest::test("it works", [] {