@@ -530,9 +530,7 @@ fn SimpleCompressor(
const builtin = @import("builtin");
test "flate.Deflate tokenization" {
if (builtin.target.cpu.arch == .wasm32) return error.SkipZigTest;
test "tokenization" {
const L = Token.initLiteral;
const M = Token.initMatch;
@@ -607,9 +605,7 @@ const TestTokenWriter = struct {
pub fn flush(_: *Self) !void {}
};
test "flate deflate file tokenization" {
if (builtin.target.cpu.arch == .wasm32) return error.SkipZigTest;
test "file tokenization" {
const levels = [_]Level{ .level_4, .level_5, .level_6, .level_7, .level_8, .level_9 };
const cases = [_]struct {
data: []const u8, // uncompressed content
@@ -718,7 +714,7 @@ fn TokenDecoder(comptime WriterType: type) type {
};
}
test "flate.Deflate store simple compressor" {
test "store simple compressor" {
const data = "Hello world!";
const expected = [_]u8{
0x1, // block type 0, final bit set