zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 195471a98d8a1a775c56f030aee4524ce0746510 (tree)
parent 5fc4448e451d7a8e184ac5fbe1e954bff653e36d
Author: Shun Sakai <sorairolake@protonmail.ch>
Date:   Wed, 30 Apr 2025 19:59:59 +0900

test(std.mem): Remove `trimStart` and `trimEnd` from `test trim`
Diffstat:
Mlib/std/mem.zig | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/std/mem.zig b/lib/std/mem.zig @@ -1235,8 +1235,6 @@ pub fn trim(comptime T: type, slice: []const T, values_to_strip: []const T) []co } test trim { - try testing.expectEqualSlices(u8, "foo\n ", trimStart(u8, " foo\n ", " \n")); - try testing.expectEqualSlices(u8, " foo", trimEnd(u8, " foo\n ", " \n")); try testing.expectEqualSlices(u8, "foo", trim(u8, " foo\n ", " \n")); try testing.expectEqualSlices(u8, "foo", trim(u8, "foo", " \n")); }