From 195471a98d8a1a775c56f030aee4524ce0746510 Mon Sep 17 00:00:00 2001 From: Shun Sakai Date: Wed, 30 Apr 2025 19:59:59 +0900 Subject: [PATCH] test(std.mem): Remove `trimStart` and `trimEnd` from `test trim` --- lib/std/mem.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/std/mem.zig b/lib/std/mem.zig index bfa39d08b9..ab8e6c0108 100644 --- 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")); }