Application Context Implementation #4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue