This file is indexed.

/usr/share/gocode/src/github.com/jacobsa/ogletest/test_cases/golden.failing_test is in golang-github-jacobsa-ogletest-dev 0.0~git20150610-6.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
[----------] Running tests from FailingTest
[ RUN      ] FailingTest.PassingMethod
TearDown running.
[       OK ] FailingTest.PassingMethod
[ RUN      ] FailingTest.Equals
TearDown running.
failing_test.go:52:
Expected: 17.5
Actual:   17

failing_test.go:53:
Expected: taco
Actual:   17, which is not a string

[  FAILED  ] FailingTest.Equals
[ RUN      ] FailingTest.LessThan
TearDown running.
failing_test.go:57:
Expected: less than 17
Actual:   18

failing_test.go:58:
Expected: less than "taco"
Actual:   18, which is not comparable

[  FAILED  ] FailingTest.LessThan
[ RUN      ] FailingTest.HasSubstr
TearDown running.
failing_test.go:63:
Expected: has substring "ac"
Actual:   17, which is not a string

[  FAILED  ] FailingTest.HasSubstr
[ RUN      ] FailingTest.ExpectWithUserErrorMessages
TearDown running.
failing_test.go:67:
Expected: 19
Actual:   17
foo bar: 112

failing_test.go:68:
Expected: 17
Actual:   17.5
foo bar: 112

failing_test.go:69:
Expected: less than or equal to 16.9
Actual:   17
foo bar: 112

failing_test.go:70:
Expected: less than 16.9
Actual:   17
foo bar: 112

failing_test.go:71:
Expected: greater than or equal to 17.1
Actual:   17
foo bar: 112

failing_test.go:72:
Expected: greater than "taco"
Actual:   17, which is not comparable
foo bar: 112

failing_test.go:73:
Expected: not(17)
Actual:   17
foo bar: 112

failing_test.go:74:
Expected: false
Actual:   true
foo bar: 112

failing_test.go:75:
Expected: true
Actual:   false
foo bar: 112

[  FAILED  ] FailingTest.ExpectWithUserErrorMessages
[ RUN      ] FailingTest.AssertWithUserErrorMessages
TearDown running.
failing_test.go:79:
Expected: 19
Actual:   17
foo bar: 112

[  FAILED  ] FailingTest.AssertWithUserErrorMessages
[ RUN      ] FailingTest.ExpectationAliases
TearDown running.
failing_test.go:83:
Expected: 17
Actual:   17.5

failing_test.go:84:
Expected: taco
Actual:   17.5, which is not a string

failing_test.go:86:
Expected: less than or equal to 16.9
Actual:   17

failing_test.go:87:
Expected: less than 16.9
Actual:   17

failing_test.go:88:
Expected: less than "taco"
Actual:   17, which is not comparable

failing_test.go:90:
Expected: greater than or equal to 17.1
Actual:   17

failing_test.go:91:
Expected: greater than 17.1
Actual:   17

failing_test.go:92:
Expected: greater than "taco"
Actual:   17, which is not comparable

failing_test.go:94:
Expected: not(17)
Actual:   17

failing_test.go:95:
Expected: not(17)
Actual:   taco, which is not numeric

failing_test.go:97:
Expected: false
Actual:   true

failing_test.go:98:
Expected: false
Actual:   taco, which is not a bool

failing_test.go:100:
Expected: true
Actual:   false

failing_test.go:101:
Expected: true
Actual:   taco, which is not a bool

[  FAILED  ] FailingTest.ExpectationAliases
[ RUN      ] FailingTest.AssertThatFailure
TearDown running.
failing_test.go:105:
Expected: 19
Actual:   17

[  FAILED  ] FailingTest.AssertThatFailure
[ RUN      ] FailingTest.AssertEqFailure
TearDown running.
failing_test.go:110:
Expected: 19
Actual:   17

[  FAILED  ] FailingTest.AssertEqFailure
[ RUN      ] FailingTest.AssertNeFailure
TearDown running.
failing_test.go:115:
Expected: not(19)
Actual:   19

[  FAILED  ] FailingTest.AssertNeFailure
[ RUN      ] FailingTest.AssertLeFailure
TearDown running.
failing_test.go:120:
Expected: less than or equal to 17
Actual:   19

[  FAILED  ] FailingTest.AssertLeFailure
[ RUN      ] FailingTest.AssertLtFailure
TearDown running.
failing_test.go:125:
Expected: less than 17
Actual:   19

[  FAILED  ] FailingTest.AssertLtFailure
[ RUN      ] FailingTest.AssertGeFailure
TearDown running.
failing_test.go:130:
Expected: greater than or equal to 19
Actual:   17

[  FAILED  ] FailingTest.AssertGeFailure
[ RUN      ] FailingTest.AssertGtFailure
TearDown running.
failing_test.go:135:
Expected: greater than 19
Actual:   17

[  FAILED  ] FailingTest.AssertGtFailure
[ RUN      ] FailingTest.AssertTrueFailure
TearDown running.
failing_test.go:140:
Expected: true
Actual:   taco, which is not a bool

[  FAILED  ] FailingTest.AssertTrueFailure
[ RUN      ] FailingTest.AssertFalseFailure
TearDown running.
failing_test.go:145:
Expected: false
Actual:   taco, which is not a bool

[  FAILED  ] FailingTest.AssertFalseFailure
[ RUN      ] FailingTest.AddFailureRecord
TearDown running.
foo.go:17:
taco
burrito

[  FAILED  ] FailingTest.AddFailureRecord
[ RUN      ] FailingTest.AddFailure
TearDown running.
failing_test.go:160:
taco

failing_test.go:161:
burrito: 17

[  FAILED  ] FailingTest.AddFailure
[ RUN      ] FailingTest.AddFailureThenAbortTest
TearDown running.
failing_test.go:165:
enchilada

[  FAILED  ] FailingTest.AddFailureThenAbortTest
TearDownTestSuite running.
[----------] Finished with tests from FailingTest
[----------] Running tests from ExpectFailDuringSetUpTest
[ RUN      ] ExpectFailDuringSetUpTest.PassingMethod
Method running.
TearDown running.
failing_test.go:180:
Expected: false
Actual:   true

[  FAILED  ] ExpectFailDuringSetUpTest.PassingMethod
[----------] Finished with tests from ExpectFailDuringSetUpTest
[----------] Running tests from AssertFailDuringSetUpTest
[ RUN      ] AssertFailDuringSetUpTest.PassingMethod
TearDown running.
failing_test.go:201:
Expected: false
Actual:   true

[  FAILED  ] AssertFailDuringSetUpTest.PassingMethod
[----------] Finished with tests from AssertFailDuringSetUpTest
[----------] Running tests from ExpectFailDuringTearDownTest
[ RUN      ] ExpectFailDuringTearDownTest.PassingMethod
SetUp running.
Method running.
failing_test.go:226:
Expected: false
Actual:   true

[  FAILED  ] ExpectFailDuringTearDownTest.PassingMethod
[----------] Finished with tests from ExpectFailDuringTearDownTest
[----------] Running tests from AssertFailDuringTearDownTest
[ RUN      ] AssertFailDuringTearDownTest.PassingMethod
SetUp running.
Method running.
failing_test.go:247:
Expected: false
Actual:   true

[  FAILED  ] AssertFailDuringTearDownTest.PassingMethod
[----------] Finished with tests from AssertFailDuringTearDownTest
--- FAIL: TestSomething (1.23s)
FAIL
exit status 1
FAIL somepkg 1.234s