Compare commits
2 Commits
c8992fec99
...
1997c38e97
Author | SHA1 | Date | |
---|---|---|---|
1997c38e97 | |||
a471fd4663 |
@ -135,7 +135,7 @@ pub fn Spliterator(comptime Element: type) type {
|
||||
};
|
||||
}
|
||||
|
||||
test "Spliteration" {
|
||||
test "Spliterating text" {
|
||||
const testing = std.testing;
|
||||
|
||||
// Single-character delimiter.
|
||||
|
@ -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…
x
Reference in New Issue
Block a user