Commit 195471a98d

Shun Sakai <sorairolake@protonmail.ch>
2025-04-30 12:59:59
test(std.mem): Remove `trimStart` and `trimEnd` from `test trim`
1 parent 5fc4448
Changed files (1)
lib
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"));
 }