update usage of std.testing in behavior and standalone tests

This commit is contained in:
Veikka Tuominen
2021-05-04 21:23:22 +03:00
parent fd77f2cfed
commit 0a38f61d58
125 changed files with 3783 additions and 3793 deletions

View File

@@ -230,7 +230,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
cases.add("array in c exported function",
\\export fn zig_array(x: [10]u8) void {
\\ expect(std.mem.eql(u8, &x, "1234567890"));
\\try expect(std.mem.eql(u8, &x, "1234567890"));
\\}
\\
\\export fn zig_return_array() [10]u8 {