Skip to content

Commit 9bad85b

Browse files
committed
Fix tests
1 parent 8769858 commit 9bad85b

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

crates/uv/tests/it/pip_sync.rs

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ fn install_url_source_dist_cached() -> Result<()> {
14101410
----- stdout -----
14111411
14121412
----- stderr -----
1413-
Removed 19 files for source-distribution ([SIZE])
1413+
Removed 19 files ([SIZE])
14141414
"###
14151415
);
14161416

@@ -1605,7 +1605,7 @@ fn install_registry_source_dist_cached() -> Result<()> {
16051605
----- stdout -----
16061606
16071607
----- stderr -----
1608-
Removed 20 files for source-distribution ([SIZE])
1608+
Removed 20 files ([SIZE])
16091609
"###
16101610
);
16111611

@@ -1702,7 +1702,7 @@ fn install_path_source_dist_cached() -> Result<()> {
17021702
----- stdout -----
17031703
17041704
----- stderr -----
1705-
Removed 19 files for source-distribution ([SIZE])
1705+
Removed 19 files ([SIZE])
17061706
"###
17071707
);
17081708

@@ -1787,13 +1787,10 @@ fn install_path_built_dist_cached() -> Result<()> {
17871787

17881788
let filters = if cfg!(windows) {
17891789
// We do not display sizes on Windows
1790-
[(
1791-
"Removed 1 file for tomli",
1792-
"Removed 1 file for tomli ([SIZE])",
1793-
)]
1794-
.into_iter()
1795-
.chain(context.filters())
1796-
.collect()
1790+
[("Removed 1 file", "Removed 1 file ([SIZE])")]
1791+
.into_iter()
1792+
.chain(context.filters())
1793+
.collect()
17971794
} else {
17981795
context.filters()
17991796
};
@@ -1804,7 +1801,7 @@ fn install_path_built_dist_cached() -> Result<()> {
18041801
----- stdout -----
18051802
18061803
----- stderr -----
1807-
Removed 11 files for tomli ([SIZE])
1804+
Removed 11 files ([SIZE])
18081805
"###
18091806
);
18101807

@@ -1892,7 +1889,7 @@ fn install_url_built_dist_cached() -> Result<()> {
18921889
----- stdout -----
18931890
18941891
----- stderr -----
1895-
Removed 43 files for tqdm ([SIZE])
1892+
Removed 43 files ([SIZE])
18961893
"###
18971894
);
18981895

0 commit comments

Comments
 (0)