Ross Sullivan
92d9a94d02
chore: Migrated testsuite to testsuite::prelude
2025-06-25 22:37:24 +09:00
Weihang Lo
d8a2a61303
test: switch to unordered assertions
...
This was caused by rust-lang/cargo@ffe59de494
```
---- expected: tests/testsuite/registry_overlay.rs:246:27
++++ actual: stderr
1 1 | [UPDATING] `sparse+http://127.0.0.1:[..]/index/ ` index
2 2 | [LOCKING] 3 packages to latest compatible versions
3 3 | [ADDING] workspace-package v0.0.1 (available: v0.1.1)
4 4 | [DOWNLOADING] crates ...
5 5 | [UNPACKING] workspace-package v0.1.1 (registry `[ROOT]/alternative-registry`)
6 - [DOWNLOADED] registry-package v0.1.0 (registry `sparse+http://127.0.0.1:[..]/index/ `)
7 - [DOWNLOADED] workspace-package v0.0.1 (registry `sparse+http://127.0.0.1:[..]/index/ `)
6 + [DOWNLOADED] workspace-package v0.0.1 (registry `sparse+http://127.0.0.1:51512/index/ `)
7 + [DOWNLOADED] registry-package v0.1.0 (registry `sparse+http://127.0.0.1:51512/index/ `)
8 8 | [CHECKING] workspace-package v0.1.1
9 9 | [CHECKING] workspace-package v0.0.1
10 10 | [CHECKING] registry-package v0.1.0
11 11 | [CHECKING] foo v0.0.1 ([ROOT]/foo)
12 12 | [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
```
2024-11-23 10:20:59 -05:00
Ed Page
ad23d73fae
fix(publish): Allow dry-run of a non-bumped workspace
...
Fixes #14789
2024-11-21 09:48:26 -06:00
Ed Page
ffe59de494
test(overlay): Use snapshot testing
2024-11-21 09:43:51 -06:00
Ed Page
ded3f004a4
fix(resolve): Generalize term describing updates
...
`latest` was easy. `latest compatible` was ok. But how do I talk about
"latest compatible with your MSRV". That gets messy.
2024-08-30 09:26:56 -05:00
Ed Page
d2ec764995
fix(resolve): Dont show locking workspace members
...
This is for `cargo generate-lockfile` and when syncing the lockfile with
the manifest.
We still show it for `cargo update` because of `cargo update
--workspace`.
We hacked around this previously by filtering out the `num_pkgs==1` case
for single packages but this didn't help with workspaces.
2024-08-22 16:57:06 -05:00
Ed Page
5b9799c6f4
refactor: Migrate from extern crate
to test-support prelude
...
We now include the prelude in so many places, this simplifies how we can
present how `cargo-test-support` works.
Yes, this included some `use` clean ups but its already painful enough
walking through every test file, I didn't want to do it twice.
2024-07-12 15:57:00 -05:00
Joe Neeman
ba9dd1ea2e
Adds tests for source overlays.
2024-06-10 18:32:22 -05:00