stage2: move array mult test from basic.zig to misc.zig!

This commit is contained in:
Jacob G-W
2021-08-22 16:09:30 -04:00
parent f6d9ac481b
commit 7cdb30ee95
2 changed files with 4 additions and 4 deletions

View File

@@ -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"));
}