Skip to content

Pascal's Triangle tests checkAllAllocationFailures#487

Merged
kotp merged 1 commit intoexercism:mainfrom
keiravillekode:pascals-triangle-allocation-failure-test
Sep 26, 2025
Merged

Pascal's Triangle tests checkAllAllocationFailures#487
kotp merged 1 commit intoexercism:mainfrom
keiravillekode:pascals-triangle-allocation-failure-test

Conversation

@keiravillekode
Copy link
Contributor

We verify there are no memory leaks in the event of memory allocation failure.

Update the example solution as it previously leaked if any allocation (other than the first) failed.

@github-actions
Copy link
Contributor

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

We verify there are no memory leaks in the event of
memory allocation failure.

Update the example solution as it previously leaked
if any allocation (other than the first) failed.
@keiravillekode keiravillekode force-pushed the pascals-triangle-allocation-failure-test branch from c014ae9 to 6a33c9c Compare September 26, 2025 10:08
@kotp kotp merged commit 85d6868 into exercism:main Sep 26, 2025
7 checks passed
@keiravillekode keiravillekode deleted the pascals-triangle-allocation-failure-test branch September 26, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments