summaryrefslogtreecommitdiffstats
path: root/t/unit-tests/clar/test/expected/tap
blob: e67118d3aedbf83237f359371ee43d1703f76fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
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: |
      Expected comparison to hold: 101 == value
      101 != 100
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 6 - combined::int_note
    ---
    reason: |
      Expected comparison to hold: 101 == value
      extra note on failing test
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 7 - combined::int_fmt
    ---
    reason: |
      Expected comparison to hold: 022 == value
      0022 != 0144
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 8 - combined::bool
    ---
    reason: |
      0 != value
      0 != 1
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 9 - combined::multiline_description
    ---
    reason: |
      Function call failed: -1
      description line 1
      description line 2
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 10 - combined::null_string
    ---
    reason: |
      String mismatch: "expected" != actual ("this one fails")
      'expected' != NULL
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 11 - combined::failf
    ---
    reason: |
      Test failed.
      some reason: foo
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 12 - combined::compare_i
    ---
    reason: |
      Expected comparison to hold: two < 1
      2 >= 1
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 13 - combined::compare_i_with_format
    ---
    reason: |
      Expected comparison to hold: two < 1
      foo: bar
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 14 - combined::compare_u
    ---
    reason: |
      Expected comparison to hold: two < 1
      2 >= 1
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
not ok 15 - combined::compare_u_with_format
    ---
    reason: |
      Expected comparison to hold: two < 1
      foo: bar
    at:
      file: 'file'
      line: 42
      function: 'func'
    ...
1..15