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

This commit is contained in:
Shun Sakai 2025-04-30 19:59:59 +09:00 committed by GitHub
parent 5fc4448e45
commit 195471a98d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"));
}