Commit 2161509
committed
Add regression test for bundle workspace.profile vs default_profile
When a bundle declares workspace.profile but no workspace.host and the
user has [__settings__].default_profile set, the bundle's pinned profile
must win. configureProfile's guard (Workspace.Profile == "") covers this
case but had no test — verified by temporarily removing the guard, which
flipped the asserted profile from PROFILE-2 to PROFILE-1.
Co-authored-by: Isaac1 parent c793668 commit 2161509
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
297 | 326 | | |
298 | 327 | | |
299 | 328 | | |
| |||
0 commit comments