Commit 7845da1
committed
tests: the fixtures that used the removed key, and the one assertion only macOS could fail
Three CI-only failures, all from this change and each in a fixture rather than
in the engine.
e2e 88 and 205 declared [xlings.envs], which is now refused. 205 drops it; 88
asserted the key was materialized and now asserts it is not, and gains two
criteria the merge introduced: the same statement in both tables collapses to
one entry, and the superseded key is reported with the line to write.
The manifest parser gained that collapse. deps and workspace agreeing about one
package is not an error and is not two entries — appending it twice would ask
xlings to install one package twice.
Manifest.XlingsWorkspaceAcceptsPerPlatformValues compared host_platform_key()
against "macos", and this change made that key xlings' own spelling, "macosx".
The assertion was written in terms of the function precisely so it would run on
every host, and it was the one line in the file that could only fail on a macOS
runner. It did.1 parent 6020027 commit 7845da1
4 files changed
Lines changed: 22 additions & 12 deletions
File tree
- modules/manifest/src
- tests
- e2e
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1552 | 1552 | | |
1553 | 1553 | | |
1554 | 1554 | | |
1555 | | - | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
1556 | 1563 | | |
1557 | 1564 | | |
1558 | 1565 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 82 | | |
86 | 83 | | |
87 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
69 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4503 | 4503 | | |
4504 | 4504 | | |
4505 | 4505 | | |
4506 | | - | |
| 4506 | + | |
| 4507 | + | |
| 4508 | + | |
| 4509 | + | |
4507 | 4510 | | |
4508 | 4511 | | |
4509 | 4512 | | |
| |||
0 commit comments