mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-18 09:23:13 +00:00
cargo fmt
This commit is contained in:
+5
-2
@@ -31,7 +31,7 @@ where
|
||||
t.merge(&b);
|
||||
t
|
||||
};
|
||||
assert_eq!(ab,ab_b);
|
||||
assert_eq!(ab, ab_b);
|
||||
|
||||
// Associativity: merge(merge(a, b), c) == merge(a, merge(b, c))
|
||||
let ab_c = {
|
||||
@@ -49,5 +49,8 @@ where
|
||||
t.merge(&bc);
|
||||
t
|
||||
};
|
||||
assert_eq!(ab_c, a_bc, "merge is not associative: {ab_c:#?} != {a_bc:#?}");
|
||||
assert_eq!(
|
||||
ab_c, a_bc,
|
||||
"merge is not associative: {ab_c:#?} != {a_bc:#?}"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user