Files
git-mirror/t/unit-tests/clar/test/expected/tap
Patrick Steinhardt 93dbb6b3c5 t/unit-tests: update to 10e96bc
Update to 10e96bc (Merge pull request #127 from
pks-gitlab/pks-ci-improvements, 2025-09-22). This commit includes a
couple of changes:

  - The GitHub CI has been updated to include a 32 bit CI job.
    Furthermore, the jobs now compile with "-Werror" and more warnings
    enabled.

  - An issue was addressed where `uintptr_t` is not available on
    NonStop [1].

  - The clar selftests have been restructured so that it is now possible
    to add small test suites more readily. This was done to add tests
    for the above addressed issue, where we now use "%p" to print
    pointers in a platform dependent way.

  - An issue was addressed where the test output had a trailing
    whitespace with certain output formats, which caused whitespace
    issues in the test expectation files.

[1]: <01c101dc2842$38903640$a9b0a2c0$@nexbridge.com>

Reported-by: Randall S. Becker <rsbecker@nexbridge.com>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-09-22 10:09:03 -07:00

93 lines
1.7 KiB
Plaintext

TAP version 13
# start of suite 1: combined
not ok 1 - combined::1
---
reason: |
Function call failed: -1
at:
file: 'file'
line: 42
function: 'func'
---
not ok 2 - combined::2
---
reason: |
Expression is not true: 100 == 101
at:
file: 'file'
line: 42
function: 'func'
---
not ok 3 - combined::strings
---
reason: |
String mismatch: "mismatched" != actual ("this one fails")
'mismatched' != 'expected' (at byte 0)
at:
file: 'file'
line: 42
function: 'func'
---
not ok 4 - combined::strings_with_length
---
reason: |
String mismatch: "exactly" != actual ("this one fails")
'exa' != 'exp' (at byte 2)
at:
file: 'file'
line: 42
function: 'func'
---
not ok 5 - combined::int
---
reason: |
101 != value ("extra note on failing test")
101 != 100
at:
file: 'file'
line: 42
function: 'func'
---
not ok 6 - combined::int_fmt
---
reason: |
022 != value
0022 != 0144
at:
file: 'file'
line: 42
function: 'func'
---
not ok 7 - combined::bool
---
reason: |
0 != value
0 != 1
at:
file: 'file'
line: 42
function: 'func'
---
not ok 8 - combined::multiline_description
---
reason: |
Function call failed: -1
description line 1
description line 2
at:
file: 'file'
line: 42
function: 'func'
---
not ok 9 - combined::null_string
---
reason: |
String mismatch: "expected" != actual ("this one fails")
'expected' != NULL
at:
file: 'file'
line: 42
function: 'func'
---
1..9