mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
test(std.mem): Remove trimStart and trimEnd from test trim
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user