start with Header

This commit is contained in:
2022-02-17 11:16:30 +02:00
committed by Motiejus Jakštys
parent 00cf0e4a66
commit 8c8570e6d1
4 changed files with 72 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ const PriorityDequeue = std.PriorityDequeue;
const StringArrayHashMap = std.StringArrayHashMap;
const StringHashMap = std.StringHashMap;
const BoundedArray = std.BoundedArray;
const testing = std.testing;
const StringContext = std.hash_map.StringContext;
// MaxShells is the maximum number of "popular" shells.
@@ -182,6 +181,8 @@ inline fn roundUp4Padding(n: u12) u12 {
return ((n + 3) & ~@intCast(u12, 3)) - n;
}
const testing = std.testing;
test "basic shellpopcon" {
var popcon = ShellWriter.init(testing.allocator);
defer popcon.deinit();