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