| ... | ... | @@ -2,7 +2,6 @@ const builtin = @import("builtin"); |
| 2 | 2 | const std = @import("std"); |
| 3 | 3 | const testing = std.testing; |
| 4 | 4 | const expect = testing.expect; |
| 5 | | const expectEqual = testing.expectEqual; |
| 6 | 5 | |
| 7 | 6 | test "tuple concatenation" { |
| 8 | 7 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| ... | ... | @@ -18,8 +17,8 @@ test "tuple concatenation" { |
| 18 | 17 | var x = .{a}; |
| 19 | 18 | var y = .{b}; |
| 20 | 19 | var c = x ++ y; |
| 21 | | try expectEqual(@as(i32, 1), c[0]); |
| 22 | | try expectEqual(@as(i32, 2), c[1]); |
| 20 | try expect(@as(i32, 1) == c[0]); |
| 21 | try expect(@as(i32, 2) == c[1]); |
| 23 | 22 | } |
| 24 | 23 | }; |
| 25 | 24 | try S.doTheTest(); |