summaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests.zig')
-rw-r--r--test/tests.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests.zig b/test/tests.zig
index a242ca6..9a8e9e9 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -303,7 +303,7 @@ fn check(
fn readLine(reader: *fs.File.Reader, buf: []u8) !?[]const u8 {
try reader.interface.readSliceAll(buf);
- return mem.trimRight(u8, buf, " \r\n");
+ return mem.trimEnd(u8, buf, " \r\n");
}
/// Fails with a custom error message.