Skip to content

Correct fatal messages#706

Merged
kris-jusiak merged 2 commits intoboost-ext:masterfrom
ILer32:702-correct-fatal-messages
Feb 3, 2026
Merged

Correct fatal messages#706
kris-jusiak merged 2 commits intoboost-ext:masterfrom
ILer32:702-correct-fatal-messages

Conversation

@ILer32
Copy link
Contributor

@ILer32 ILer32 commented Feb 3, 2026

Problem:

  • The fatal messages are incorrect
    Example
#include <boost/ut.hpp>

int main() {
    using namespace boost::ut;
    expect(fatal(1 == 2_i));
}

Expected Behavior

UT starts =====================================================================
FAILED in: ...\example.cpp:5 - test condition: [1 == 2]
===============================================================================
Suite global
tests:   0 | 0 failed
asserts: 1 | 0 passed | 1 failed

Actual Behavior

UT starts =====================================================================
FAILED in: :0 - test condition: [1 == 2]
===============================================================================
Suite global
tests:   0 | 0 failed
asserts: 1 | 0 passed | 1 failed

Solution:

  • Add location to fatal_

Issue: #702

Reviewers:
@kris-jusiak

@kris-jusiak kris-jusiak merged commit 6dbe84f into boost-ext:master Feb 3, 2026
10 checks passed
@kris-jusiak
Copy link
Contributor

Thanks @ILer32

@ILer32 ILer32 deleted the 702-correct-fatal-messages branch February 3, 2026 03:22
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