Compare commits

...

2 Commits

Author SHA1 Message Date
kayomn 1997c38e97 Fix test build error in hash table
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2022-10-17 14:04:44 +01:00
kayomn a471fd4663 Improve test name in Ona module 2022-10-17 14:04:24 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -135,7 +135,7 @@ pub fn Spliterator(comptime Element: type) type {
};
}
test "Spliteration" {
test "Spliterating text" {
const testing = std.testing;
// Single-character delimiter.

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