authorgravatar for sorairolake@protonmail.chShun Sakai <sorairolake@protonmail.ch> 2025-04-30 19:59:59+09:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2025-04-30 19:59:59+09:00
log195471a98d8a1a775c56f030aee4524ce0746510
tree2b2a37d354ba2c93418f0f0fc47c72705c7fd831
parent5fc4448e451d7a8e184ac5fbe1e954bff653e36d
signaturebadge-check Signed by PGP key B5690EEEBB952194

test(std.mem): Remove `trimStart` and `trimEnd` from `test trim`


1 files changed, 0 insertions(+), 2 deletions(-)

lib/std/mem.zig-2
......@@ -1235,8 +1235,6 @@ pub fn trim(comptime T: type, slice: []const T, values_to_strip: []const T) []co
12351235}
12361236
12371237test trim {
1238 try testing.expectEqualSlices(u8, "foo\n ", trimStart(u8, " foo\n ", " \n"));
1239 try testing.expectEqualSlices(u8, " foo", trimEnd(u8, " foo\n ", " \n"));
12401238 try testing.expectEqualSlices(u8, "foo", trim(u8, " foo\n ", " \n"));
12411239 try testing.expectEqualSlices(u8, "foo", trim(u8, "foo", " \n"));
12421240}