Skip to content

Commit b9bbdc8

Browse files
committed
fix gix-archive tests for when symlinks are allowed
1 parent f87322e commit b9bbdc8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

gix-archive/tests/archive.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ mod from_tree {
183183
},
184184
|buf| {
185185
assert!(
186-
buf.len() < 1270,
186+
buf.len() < 1280,
187187
"much bigger than uncompressed for some reason (565): {} < 1270",
188188
buf.len()
189189
);

tests/tools/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,6 @@ fn extract_archive(
751751
}
752752
#[cfg(not(feature = "xz"))]
753753
{
754-
use std::io::Read;
755754
input_archive.read_to_end(&mut buf)?;
756755
}
757756
buf

0 commit comments

Comments
 (0)