aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2023-06-25 21:33:55 +0600
committerAndrew Kelley <andrew@ziglang.org>2023-06-25 14:51:03 -0700
commit0a868dacdd31b7d5c529a332da718683477a2505 (patch)
treea5d91a35d7f66b78c26110923eda548e52eb6258 /test/behavior/basic.zig
parent852eb272bf895ee6fc242e298e31d666caa9d0df (diff)
downloadzig-0a868dacdd31b7d5c529a332da718683477a2505.tar.gz
zig-0a868dacdd31b7d5c529a332da718683477a2505.zip
std.cstr: deprecate namespace
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
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" {