mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
test(std.mem): Remove trimStart and trimEnd from test trim
This commit is contained in:
parent
5fc4448e45
commit
195471a98d
@ -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"));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user