Skip to content

assertion prints - this is a user bug in the object stringifier #594

Description

@Cade-Peterson

There is a similar bug #463 that is already closed.

However for the case below

Test(assertions, none) {
    cr_expect(none(eq(int, 1, 1), eq(int, 3, 3), eq(int, 3, 3)));
}

There is no custom type and we still get the output:

[----] Criterion v2.4.3
[====] Running 1 test from assertion:
[RUN ] assertion::testing
[----] minimal.c:19: Assertion Failed
[----]   eq(int, 1, 1): 
[----]     @@@ <no difference -- this is a user bug in the object stringifier>
[----]   eq(int, 3, 3): 
[----]     @@@ <no difference -- this is a user bug in the object stringifier>
[----]   eq(int, 3, 3): 
[----]     @@@ <no difference -- this is a user bug in the object stringifier>
[FAIL] assertion::testing: (0.00s)
[====] Synthesis: Tested: 1 | Passing: 0 | Failing: 1 | Crashing: 0 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions