diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests.zig | 2 |
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. |
