Fix test build error in hash table
This commit is contained in:
parent
a471fd4663
commit
1997c38e97
|
@ -207,8 +207,8 @@ test "Hashed table manipulation with string context" {
|
||||||
|
|
||||||
const foo = @as(u32, 69);
|
const foo = @as(u32, 69);
|
||||||
|
|
||||||
testing.expectEqual(table.remove("foo"), null);
|
try testing.expectEqual(table.remove("foo"), null);
|
||||||
try table.insert("foo", foo);
|
try table.insert("foo", foo);
|
||||||
testing.expectEqual(table.remove("foo"), foo);
|
try testing.expectEqual(table.remove("foo"), foo);
|
||||||
testing.expectEqual(table.remove("foo"), null);
|
try testing.expectEqual(table.remove("foo"), null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue