aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behavior/basic.zig')
-rw-r--r--test/behavior/basic.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig
index 87cbb3e242..57a579cfdb 100644
--- a/test/behavior/basic.zig
+++ b/test/behavior/basic.zig
@@ -647,7 +647,7 @@ test "multiline string literal is null terminated" {
\\three
;
const s2 = "one\ntwo)\nthree";
- try expect(std.cstr.cmp(s1, s2) == 0);
+ try expect(std.mem.orderZ(u8, s1, s2) == .eq);
}
test "string escapes" {