Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 17, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Calling `REQUIRE()` inside a global `validate()` function makes any error in the test point
to the same line. The aim of this PR is that the error points to the exact line in the failing test.

We cannot make `validate()` a marco because the function is a template.

New `validate()` returns a pair of numbers which are later compared in each call. If a test fails
the exact failing test and line are now reported.
@pull pull bot locked and limited conversation to collaborators Dec 17, 2025
@pull pull bot added the ⤵️ pull label Dec 17, 2025
@pull pull bot merged commit 1efa74f into parampavar:v3 Dec 17, 2025
47 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant