Debian Codegraph @

test_cases/golden.failing_test

raw
1 [----------] Running tests from FailingTest
2 [ RUN ] FailingTest.PassingMethod
3 TearDown running.
4 [ OK ] FailingTest.PassingMethod
5 [ RUN ] FailingTest.Equals
6 TearDown running.
7 failing_test.go:52:
8 Expected: 17.5
9 Actual: 17
10
11 failing_test.go:53:
12 Expected: taco
13 Actual: 17, which is not a string
14
15 [ FAILED ] FailingTest.Equals
16 [ RUN ] FailingTest.LessThan
17 TearDown running.
18 failing_test.go:57:
19 Expected: less than 17
20 Actual: 18
21
22 failing_test.go:58:
23 Expected: less than "taco"
24 Actual: 18, which is not comparable
25
26 [ FAILED ] FailingTest.LessThan
27 [ RUN ] FailingTest.HasSubstr
28 TearDown running.
29 failing_test.go:63:
30 Expected: has substring "ac"
31 Actual: 17, which is not a string
32
33 [ FAILED ] FailingTest.HasSubstr
34 [ RUN ] FailingTest.ExpectWithUserErrorMessages
35 TearDown running.
36 failing_test.go:67:
37 Expected: 19
38 Actual: 17
39 foo bar: 112
40
41 failing_test.go:68:
42 Expected: 17
43 Actual: 17.5
44 foo bar: 112
45
46 failing_test.go:69:
47 Expected: less than or equal to 16.9
48 Actual: 17
49 foo bar: 112
50
51 failing_test.go:70:
52 Expected: less than 16.9
53 Actual: 17
54 foo bar: 112
55
56 failing_test.go:71:
57 Expected: greater than or equal to 17.1
58 Actual: 17
59 foo bar: 112
60
61 failing_test.go:72:
62 Expected: greater than "taco"
63 Actual: 17, which is not comparable
64 foo bar: 112
65
66 failing_test.go:73:
67 Expected: not(17)
68 Actual: 17
69 foo bar: 112
70
71 failing_test.go:74:
72 Expected: false
73 Actual: true
74 foo bar: 112
75
76 failing_test.go:75:
77 Expected: true
78 Actual: false
79 foo bar: 112
80
81 [ FAILED ] FailingTest.ExpectWithUserErrorMessages
82 [ RUN ] FailingTest.AssertWithUserErrorMessages
83 TearDown running.
84 failing_test.go:79:
85 Expected: 19
86 Actual: 17
87 foo bar: 112
88
89 [ FAILED ] FailingTest.AssertWithUserErrorMessages
90 [ RUN ] FailingTest.ExpectationAliases
91 TearDown running.
92 failing_test.go:83:
93 Expected: 17
94 Actual: 17.5
95
96 failing_test.go:84:
97 Expected: taco
98 Actual: 17.5, which is not a string
99
100 failing_test.go:86:
101 Expected: less than or equal to 16.9
102 Actual: 17
103
104 failing_test.go:87:
105 Expected: less than 16.9
106 Actual: 17
107
108 failing_test.go:88:
109 Expected: less than "taco"
110 Actual: 17, which is not comparable
111
112 failing_test.go:90:
113 Expected: greater than or equal to 17.1
114 Actual: 17
115
116 failing_test.go:91:
117 Expected: greater than 17.1
118 Actual: 17
119
120 failing_test.go:92:
121 Expected: greater than "taco"
122 Actual: 17, which is not comparable
123
124 failing_test.go:94:
125 Expected: not(17)
126 Actual: 17
127
128 failing_test.go:95:
129 Expected: not(17)
130 Actual: taco, which is not numeric
131
132 failing_test.go:97:
133 Expected: false
134 Actual: true
135
136 failing_test.go:98:
137 Expected: false
138 Actual: taco, which is not a bool
139
140 failing_test.go:100:
141 Expected: true
142 Actual: false
143
144 failing_test.go:101:
145 Expected: true
146 Actual: taco, which is not a bool
147
148 [ FAILED ] FailingTest.ExpectationAliases
149 [ RUN ] FailingTest.AssertThatFailure
150 TearDown running.
151 failing_test.go:105:
152 Expected: 19
153 Actual: 17
154
155 [ FAILED ] FailingTest.AssertThatFailure
156 [ RUN ] FailingTest.AssertEqFailure
157 TearDown running.
158 failing_test.go:110:
159 Expected: 19
160 Actual: 17
161
162 [ FAILED ] FailingTest.AssertEqFailure
163 [ RUN ] FailingTest.AssertNeFailure
164 TearDown running.
165 failing_test.go:115:
166 Expected: not(19)
167 Actual: 19
168
169 [ FAILED ] FailingTest.AssertNeFailure
170 [ RUN ] FailingTest.AssertLeFailure
171 TearDown running.
172 failing_test.go:120:
173 Expected: less than or equal to 17
174 Actual: 19
175
176 [ FAILED ] FailingTest.AssertLeFailure
177 [ RUN ] FailingTest.AssertLtFailure
178 TearDown running.
179 failing_test.go:125:
180 Expected: less than 17
181 Actual: 19
182
183 [ FAILED ] FailingTest.AssertLtFailure
184 [ RUN ] FailingTest.AssertGeFailure
185 TearDown running.
186 failing_test.go:130:
187 Expected: greater than or equal to 19
188 Actual: 17
189
190 [ FAILED ] FailingTest.AssertGeFailure
191 [ RUN ] FailingTest.AssertGtFailure
192 TearDown running.
193 failing_test.go:135:
194 Expected: greater than 19
195 Actual: 17
196
197 [ FAILED ] FailingTest.AssertGtFailure
198 [ RUN ] FailingTest.AssertTrueFailure
199 TearDown running.
200 failing_test.go:140:
201 Expected: true
202 Actual: taco, which is not a bool
203
204 [ FAILED ] FailingTest.AssertTrueFailure
205 [ RUN ] FailingTest.AssertFalseFailure
206 TearDown running.
207 failing_test.go:145:
208 Expected: false
209 Actual: taco, which is not a bool
210
211 [ FAILED ] FailingTest.AssertFalseFailure
212 [ RUN ] FailingTest.AddFailureRecord
213 TearDown running.
214 foo.go:17:
215 taco
216 burrito
217
218 [ FAILED ] FailingTest.AddFailureRecord
219 [ RUN ] FailingTest.AddFailure
220 TearDown running.
221 failing_test.go:160:
222 taco
223
224 failing_test.go:161:
225 burrito: 17
226
227 [ FAILED ] FailingTest.AddFailure
228 [ RUN ] FailingTest.AddFailureThenAbortTest
229 TearDown running.
230 failing_test.go:165:
231 enchilada
232
233 [ FAILED ] FailingTest.AddFailureThenAbortTest
234 TearDownTestSuite running.
235 [----------] Finished with tests from FailingTest
236 [----------] Running tests from ExpectFailDuringSetUpTest
237 [ RUN ] ExpectFailDuringSetUpTest.PassingMethod
238 Method running.
239 TearDown running.
240 failing_test.go:180:
241 Expected: false
242 Actual: true
243
244 [ FAILED ] ExpectFailDuringSetUpTest.PassingMethod
245 [----------] Finished with tests from ExpectFailDuringSetUpTest
246 [----------] Running tests from AssertFailDuringSetUpTest
247 [ RUN ] AssertFailDuringSetUpTest.PassingMethod
248 TearDown running.
249 failing_test.go:201:
250 Expected: false
251 Actual: true
252
253 [ FAILED ] AssertFailDuringSetUpTest.PassingMethod
254 [----------] Finished with tests from AssertFailDuringSetUpTest
255 [----------] Running tests from ExpectFailDuringTearDownTest
256 [ RUN ] ExpectFailDuringTearDownTest.PassingMethod
257 SetUp running.
258 Method running.
259 failing_test.go:226:
260 Expected: false
261 Actual: true
262
263 [ FAILED ] ExpectFailDuringTearDownTest.PassingMethod
264 [----------] Finished with tests from ExpectFailDuringTearDownTest
265 [----------] Running tests from AssertFailDuringTearDownTest
266 [ RUN ] AssertFailDuringTearDownTest.PassingMethod
267 SetUp running.
268 Method running.
269 failing_test.go:247:
270 Expected: false
271 Actual: true
272
273 [ FAILED ] AssertFailDuringTearDownTest.PassingMethod
274 [----------] Finished with tests from AssertFailDuringTearDownTest
275 --- FAIL: TestSomething (1.23s)
276 FAIL
277 exit status 1
278 FAIL somepkg 1.234s