Skip to content

Commit 06a2353

Browse files
committed
Run cargo fmt
1 parent 470c76e commit 06a2353

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

gix-archive/tests/archive.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ mod from_tree {
6262
),
6363
(
6464
"extra-exe".into(),
65-
if cfg!(windows) { EntryKind::Blob } else { EntryKind::BlobExecutable },
65+
if cfg!(windows) {
66+
EntryKind::Blob
67+
} else {
68+
EntryKind::BlobExecutable
69+
},
6670
hex_to_id("0000000000000000000000000000000000000000")
6771
),
6872
(
@@ -114,7 +118,12 @@ mod from_tree {
114118
("prefix/dir/b", EntryType::Regular, 3, 420),
115119
("prefix/dir/subdir/exe", EntryType::Regular, 0, 493),
116120
("prefix/extra-file", EntryType::Regular, 21, 420),
117-
("prefix/extra-exe", EntryType::Regular, 0, if cfg!(windows) { 420 } else { 493 }),
121+
(
122+
"prefix/extra-exe",
123+
EntryType::Regular,
124+
0,
125+
if cfg!(windows) { 420 } else { 493 }
126+
),
118127
("prefix/extra-dir-empty", EntryType::Directory, 0, 420),
119128
("prefix/extra-dir/symlink-to-extra", EntryType::Symlink, 0, 420)
120129
]

0 commit comments

Comments
 (0)