@@ -63,6 +63,7 @@ fn one_ignored_one_unignored_test() -> Vec<TestDescAndFn> {
63
63
name: StaticTestName ( "1" ) ,
64
64
ignore: true ,
65
65
ignore_message: None ,
66
+ location_info: "src\\ lib.rs:10:10: 10:20" ,
66
67
should_panic: ShouldPanic :: No ,
67
68
compile_fail: false ,
68
69
no_run: false ,
@@ -75,6 +76,7 @@ fn one_ignored_one_unignored_test() -> Vec<TestDescAndFn> {
75
76
name: StaticTestName ( "2" ) ,
76
77
ignore: false ,
77
78
ignore_message: None ,
79
+ location_info: "src\\ lib.rs:10:10: 10:20" ,
78
80
should_panic: ShouldPanic :: No ,
79
81
compile_fail: false ,
80
82
no_run: false ,
@@ -95,6 +97,7 @@ pub fn do_not_run_ignored_tests() {
95
97
name : StaticTestName ( "whatever" ) ,
96
98
ignore : true ,
97
99
ignore_message : None ,
100
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
98
101
should_panic : ShouldPanic :: No ,
99
102
compile_fail : false ,
100
103
no_run : false ,
@@ -118,6 +121,7 @@ pub fn ignored_tests_result_in_ignored() {
118
121
name : StaticTestName ( "whatever" ) ,
119
122
ignore : true ,
120
123
ignore_message : None ,
124
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
121
125
should_panic : ShouldPanic :: No ,
122
126
compile_fail : false ,
123
127
no_run : false ,
@@ -143,6 +147,7 @@ fn test_should_panic() {
143
147
name : StaticTestName ( "whatever" ) ,
144
148
ignore : false ,
145
149
ignore_message : None ,
150
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
146
151
should_panic : ShouldPanic :: Yes ,
147
152
compile_fail : false ,
148
153
no_run : false ,
@@ -168,6 +173,7 @@ fn test_should_panic_good_message() {
168
173
name : StaticTestName ( "whatever" ) ,
169
174
ignore : false ,
170
175
ignore_message : None ,
176
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
171
177
should_panic : ShouldPanic :: YesWithMessage ( "error message" ) ,
172
178
compile_fail : false ,
173
179
no_run : false ,
@@ -198,6 +204,7 @@ fn test_should_panic_bad_message() {
198
204
name : StaticTestName ( "whatever" ) ,
199
205
ignore : false ,
200
206
ignore_message : None ,
207
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
201
208
should_panic : ShouldPanic :: YesWithMessage ( expected) ,
202
209
compile_fail : false ,
203
210
no_run : false ,
@@ -232,6 +239,7 @@ fn test_should_panic_non_string_message_type() {
232
239
name : StaticTestName ( "whatever" ) ,
233
240
ignore : false ,
234
241
ignore_message : None ,
242
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
235
243
should_panic : ShouldPanic :: YesWithMessage ( expected) ,
236
244
compile_fail : false ,
237
245
no_run : false ,
@@ -260,6 +268,7 @@ fn test_should_panic_but_succeeds() {
260
268
name : StaticTestName ( "whatever" ) ,
261
269
ignore : false ,
262
270
ignore_message : None ,
271
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
263
272
should_panic,
264
273
compile_fail : false ,
265
274
no_run : false ,
@@ -288,6 +297,7 @@ fn report_time_test_template(report_time: bool) -> Option<TestExecTime> {
288
297
name : StaticTestName ( "whatever" ) ,
289
298
ignore : false ,
290
299
ignore_message : None ,
300
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
291
301
should_panic : ShouldPanic :: No ,
292
302
compile_fail : false ,
293
303
no_run : false ,
@@ -325,6 +335,7 @@ fn time_test_failure_template(test_type: TestType) -> TestResult {
325
335
name : StaticTestName ( "whatever" ) ,
326
336
ignore : false ,
327
337
ignore_message : None ,
338
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
328
339
should_panic : ShouldPanic :: No ,
329
340
compile_fail : false ,
330
341
no_run : false ,
@@ -364,6 +375,7 @@ fn typed_test_desc(test_type: TestType) -> TestDesc {
364
375
name : StaticTestName ( "whatever" ) ,
365
376
ignore : false ,
366
377
ignore_message : None ,
378
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
367
379
should_panic : ShouldPanic :: No ,
368
380
compile_fail : false ,
369
381
no_run : false ,
@@ -476,6 +488,7 @@ pub fn exclude_should_panic_option() {
476
488
name : StaticTestName ( "3" ) ,
477
489
ignore : false ,
478
490
ignore_message : None ,
491
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
479
492
should_panic : ShouldPanic :: Yes ,
480
493
compile_fail : false ,
481
494
no_run : false ,
@@ -500,6 +513,7 @@ pub fn exact_filter_match() {
500
513
name : StaticTestName ( name) ,
501
514
ignore : false ,
502
515
ignore_message : None ,
516
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
503
517
should_panic : ShouldPanic :: No ,
504
518
compile_fail : false ,
505
519
no_run : false ,
@@ -591,6 +605,7 @@ fn sample_tests() -> Vec<TestDescAndFn> {
591
605
name : DynTestName ( ( * name) . clone ( ) ) ,
592
606
ignore : false ,
593
607
ignore_message : None ,
608
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
594
609
should_panic : ShouldPanic :: No ,
595
610
compile_fail : false ,
596
611
no_run : false ,
@@ -720,6 +735,7 @@ pub fn test_bench_no_iter() {
720
735
name : StaticTestName ( "f" ) ,
721
736
ignore : false ,
722
737
ignore_message : None ,
738
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
723
739
should_panic : ShouldPanic :: No ,
724
740
compile_fail : false ,
725
741
no_run : false ,
@@ -743,6 +759,7 @@ pub fn test_bench_iter() {
743
759
name : StaticTestName ( "f" ) ,
744
760
ignore : false ,
745
761
ignore_message : None ,
762
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
746
763
should_panic : ShouldPanic :: No ,
747
764
compile_fail : false ,
748
765
no_run : false ,
@@ -759,6 +776,7 @@ fn should_sort_failures_before_printing_them() {
759
776
name : StaticTestName ( "a" ) ,
760
777
ignore : false ,
761
778
ignore_message : None ,
779
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
762
780
should_panic : ShouldPanic :: No ,
763
781
compile_fail : false ,
764
782
no_run : false ,
@@ -769,6 +787,7 @@ fn should_sort_failures_before_printing_them() {
769
787
name : StaticTestName ( "b" ) ,
770
788
ignore : false ,
771
789
ignore_message : None ,
790
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
772
791
should_panic : ShouldPanic :: No ,
773
792
compile_fail : false ,
774
793
no_run : false ,
@@ -816,6 +835,7 @@ fn test_dyn_bench_returning_err_fails_when_run_as_test() {
816
835
name : StaticTestName ( "whatever" ) ,
817
836
ignore : false ,
818
837
ignore_message : None ,
838
+ location_info : "src\\ lib.rs:10:10: 10:20" ,
819
839
should_panic : ShouldPanic :: No ,
820
840
compile_fail : false ,
821
841
no_run : false ,
0 commit comments