rustfmt: max-width=120

This commit is contained in:
mrbeanc
2023-12-21 20:54:12 +08:00
parent a2e9072951
commit 737917e421
7 changed files with 11 additions and 22 deletions

View File

@@ -82,11 +82,7 @@ mod test {
util::setup_test_with_mit();
let index = super::Index::new();
let mut commit = super::Commit::new(
&index,
vec!["123".to_string(), "456".to_string()],
"test".to_string(),
);
let mut commit = super::Commit::new(&index, vec!["123".to_string(), "456".to_string()], "test".to_string());
assert!(commit.hash.len() == 0);
let hash = commit.save();