diff --git a/src/ona/table.zig b/src/ona/table.zig index d42580d..040a4f7 100644 --- a/src/ona/table.zig +++ b/src/ona/table.zig @@ -207,8 +207,8 @@ test "Hashed table manipulation with string context" { const foo = @as(u32, 69); - testing.expectEqual(table.remove("foo"), null); + try testing.expectEqual(table.remove("foo"), null); try table.insert("foo", foo); - testing.expectEqual(table.remove("foo"), foo); - testing.expectEqual(table.remove("foo"), null); + try testing.expectEqual(table.remove("foo"), foo); + try testing.expectEqual(table.remove("foo"), null); }