diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-08-24 15:08:32 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-08-24 15:08:32 +0200 |
| commit | 74887276254c9557b24286eb452ea534e7ebb65a (patch) | |
| tree | 9233974b52c566b83c865239fd7c73954315e2b1 /exercises | |
| parent | 564ea3405d2dce481001c52b64784b5fce4bd37a (diff) | |
| parent | a46db7e0e84718d1898d26b3d798c767792c0779 (diff) | |
Merge pull request 'testing exercise, fix order of parameters to `expectEqual`' (#281) from cstyan/exercises:test-expect into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/281
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: |
