aboutsummaryrefslogtreecommitdiff
path: root/std/mem.zig
diff options
context:
space:
mode:
Diffstat (limited to 'std/mem.zig')
-rw-r--r--std/mem.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/mem.zig b/std/mem.zig
index e37ccf011d..3cfdb25b35 100644
--- a/std/mem.zig
+++ b/std/mem.zig
@@ -331,8 +331,8 @@ pub fn join(allocator: &Allocator, sep: u8, strings: ...) -> %[]u8 {
}
test "mem.join" {
- assert(eql(u8, %%join(&debug.global_allocator, ',', "a", "b", "c"), "a,b,c"));
- assert(eql(u8, %%join(&debug.global_allocator, ',', "a"), "a"));
+ assert(eql(u8, %%join(debug.global_allocator, ',', "a", "b", "c"), "a,b,c"));
+ assert(eql(u8, %%join(debug.global_allocator, ',', "a"), "a"));
}
test "testStringEquality" {