stage2: move array mult test from basic.zig to misc.zig!
This commit is contained in:
@@ -166,3 +166,7 @@ fn fB() []const u8 {
|
||||
test "string concatenation" {
|
||||
try expect(mem.eql(u8, "OK" ++ " IT " ++ "WORKED", "OK IT WORKED"));
|
||||
}
|
||||
|
||||
test "array mult operator" {
|
||||
try expect(mem.eql(u8, "ab" ** 5, "ababababab"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user