Compare commits
No commits in common. "1997c38e9796e7019dc30515cd2a97dc670761d5" and "c8992fec99c049f9fce2e0ec55f26d6571c40fe0" have entirely different histories.
1997c38e97
...
c8992fec99
|
@ -135,7 +135,7 @@ pub fn Spliterator(comptime Element: type) type {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
test "Spliterating text" {
|
test "Spliteration" {
|
||||||
const testing = std.testing;
|
const testing = std.testing;
|
||||||
|
|
||||||
// Single-character delimiter.
|
// Single-character delimiter.
|
||||||
|
|
|
@ -207,8 +207,8 @@ test "Hashed table manipulation with string context" {
|
||||||
|
|
||||||
const foo = @as(u32, 69);
|
const foo = @as(u32, 69);
|
||||||
|
|
||||||
try testing.expectEqual(table.remove("foo"), null);
|
testing.expectEqual(table.remove("foo"), null);
|
||||||
try table.insert("foo", foo);
|
try table.insert("foo", foo);
|
||||||
try testing.expectEqual(table.remove("foo"), foo);
|
testing.expectEqual(table.remove("foo"), foo);
|
||||||
try testing.expectEqual(table.remove("foo"), null);
|
testing.expectEqual(table.remove("foo"), null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue