Fix test build error in hash table
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kayomn 2022-10-17 14:04:44 +01:00
parent a471fd4663
commit 1997c38e97
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}