Skip to content

Commit 195471a

Browse files
authored
test(std.mem): Remove trimStart and trimEnd from test trim
1 parent 5fc4448 commit 195471a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/std/mem.zig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,8 +1235,6 @@ pub fn trim(comptime T: type, slice: []const T, values_to_strip: []const T) []co
12351235
}
12361236

12371237
test trim {
1238-
try testing.expectEqualSlices(u8, "foo\n ", trimStart(u8, " foo\n ", " \n"));
1239-
try testing.expectEqualSlices(u8, " foo", trimEnd(u8, " foo\n ", " \n"));
12401238
try testing.expectEqualSlices(u8, "foo", trim(u8, " foo\n ", " \n"));
12411239
try testing.expectEqualSlices(u8, "foo", trim(u8, "foo", " \n"));
12421240
}

0 commit comments

Comments
 (0)