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
This commit is contained in:
Chris Boesch 2025-08-24 15:08:32 +02:00
commit 7488727625

View File

@ -58,7 +58,7 @@ test "add" {
// Another way to perform this test // Another way to perform this test
// is as follows: // is as follows:
try testing.expectEqual(add(41, 1), 42); try testing.expectEqual(42, add(41, 1));
// This time a test with the addition // This time a test with the addition
// of a negative number: // of a negative number: