Commit 0b265c2
committed
test(e2e): 188's no-consumer case needs a target that does not exist, not a library
A `kind = "lib"` target used to serve as "nothing that takes an object
action's outputs", because a static library did not take them. It does now, so
that fixture stopped exercising the case and the suite reported it — which is
the whole value of running it.
The one shape that still leaves an object action with nowhere to go is a target
behind an inactive `required_features`: it is absent from the build entirely.
A control runs the same project with the feature on and asserts the diagnostic
is gone, so the assertion cannot pass on a build that stopped emitting it for
everyone.1 parent 6d4d498 commit 0b265c2
1 file changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
416 | 423 | | |
417 | 424 | | |
418 | 425 | | |
419 | 426 | | |
420 | 427 | | |
421 | 428 | | |
422 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
423 | 433 | | |
424 | 434 | | |
| 435 | + | |
425 | 436 | | |
426 | 437 | | |
427 | 438 | | |
428 | 439 | | |
429 | 440 | | |
430 | 441 | | |
431 | | - | |
| 442 | + | |
432 | 443 | | |
433 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
434 | 454 | | |
435 | 455 | | |
436 | 456 | | |
| |||
0 commit comments