diff options
| author | Callum Styan <callumstyan@gmail.com> | 2025-07-13 17:02:50 -0700 |
|---|---|---|
| committer | Callum Styan <callumstyan@gmail.com> | 2025-07-13 17:02:50 -0700 |
| commit | f5d2c5124c2728d14d4c349c9287edb00f9eb633 (patch) | |
| tree | 90471c269c484dfceb2d7f028ae874381b91dab0 /exercises | |
| parent | 34a7c6c8613fb0ba36b1be1f151c26226e40f332 (diff) | |
for expectEqual the first param is expected
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/102_testing.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/102_testing.zig b/exercises/102_testing.zig index 89a0ee8..248f5b5 100644 --- a/exercises/102_testing.zig +++ b/exercises/102_testing.zig @@ -58,7 +58,7 @@ test "add" { // Another way to perform this test // is as follows: - try testing.expectEqual(add(41, 1), 42); + try testing.expectEqual(42, add(41, 1)); // This time a test with the addition // of a negative number: |
