Skip to content

Commit

Permalink
Fix snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Oct 19, 2024
1 parent 358b289 commit f320436
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions crates/uv/tests/it/edit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4588,12 +4588,10 @@ fn remove_repeated() -> Result<()> {
----- stdout -----
----- stderr -----
Resolved 4 packages in [TIME]
Prepared 3 packages in [TIME]
Installed 3 packages in [TIME]
+ anyio==4.3.0
+ idna==3.6
+ sniffio==1.3.1
Resolved 2 packages in [TIME]
Prepared 1 package in [TIME]
Installed 1 package in [TIME]
+ anyio==4.3.0+foo (from file://[WORKSPACE]/scripts/packages/anyio_local)
"###);

let pyproject_toml = context.read("pyproject.toml");
Expand All @@ -4616,6 +4614,7 @@ fn remove_repeated() -> Result<()> {
dev-dependencies = ["anyio"]
[tool.uv.sources]
anyio = { path = "[WORKSPACE]/scripts/packages/anyio_local" }
"###
);
});
Expand All @@ -4626,8 +4625,8 @@ fn remove_repeated() -> Result<()> {
----- stdout -----
----- stderr -----
Resolved 4 packages in [TIME]
Audited 3 packages in [TIME]
Resolved 2 packages in [TIME]
Audited 1 package in [TIME]
"###);

let pyproject_toml = context.read("pyproject.toml");
Expand All @@ -4650,6 +4649,7 @@ fn remove_repeated() -> Result<()> {
dev-dependencies = ["anyio"]
[tool.uv.sources]
anyio = { path = "[WORKSPACE]/scripts/packages/anyio_local" }
"###
);
});
Expand All @@ -4661,10 +4661,8 @@ fn remove_repeated() -> Result<()> {
----- stderr -----
Resolved 1 package in [TIME]
Uninstalled 3 packages in [TIME]
- anyio==4.3.0
- idna==3.6
- sniffio==1.3.1
Uninstalled 1 package in [TIME]
- anyio==4.3.0+foo (from file://[WORKSPACE]/scripts/packages/anyio_local)
"###);

let pyproject_toml = context.read("pyproject.toml");
Expand Down

0 comments on commit f320436

Please sign in to comment.