File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,10 @@ mod test {
302
302
let mut metadata = Metadata :: default ( ) ;
303
303
304
304
// unchanged default_target, targets not specified
305
- let BuildTargets { default_target : default, other_targets } = metadata. targets ( ) ;
305
+ let BuildTargets {
306
+ default_target : default,
307
+ other_targets,
308
+ } = metadata. targets ( ) ;
306
309
assert_eq ! ( default , HOST_TARGET ) ;
307
310
assert ! ( other_targets. is_empty( ) ) ;
308
311
@@ -379,7 +382,10 @@ mod test {
379
382
380
383
// if `targets` is unset, don't build any extra targets
381
384
metadata. targets = None ;
382
- let BuildTargets { default_target : default, other_targets } = metadata. targets ( ) ;
385
+ let BuildTargets {
386
+ default_target : default,
387
+ other_targets,
388
+ } = metadata. targets ( ) ;
383
389
assert_eq ! ( default , "i686-apple-darwin" ) ;
384
390
assert ! ( other_targets. is_empty( ) ) ;
385
391
}
You can’t perform that action at this time.
0 commit comments