Skip to content

Commit 3f90eb3

Browse files
committed
tests: Adjust checksum and size expectations
Apparently the flate2 update caused a small variation in these fields, but since we only use it to create tarballs for testing, this should not be relevant to our production usage.
1 parent 0c99457 commit 3f90eb3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tests/krate/publish/snapshots/integration__krate__publish__manifest__lib_and_bin_crate-4.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ expression: response.json()
2121
"bar",
2222
"foo"
2323
],
24-
"checksum": "2af566e52c8fb0376558a00b0bc426c699e8fe2b12807b75cbce7ccf54e37a98",
24+
"checksum": "24666b3fb658f202e37e38e855f9db389441a47565669effd1513f647d93becb",
2525
"crate": "foo",
26-
"crate_size": 251,
26+
"crate_size": 252,
2727
"created_at": "[datetime]",
2828
"description": "description",
2929
"dl_path": "/api/v1/crates/foo/1.0.0/download",

src/tests/routes/crates/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async fn version_size() {
144144
.iter()
145145
.find(|v| v.num == "2.0.0")
146146
.expect("Could not find v2.0.0");
147-
assert_eq!(version2.crate_size, 191);
147+
assert_eq!(version2.crate_size, 192);
148148
}
149149

150150
#[tokio::test(flavor = "multi_thread")]

0 commit comments

Comments
 (0)