fix: add --all to cargo fmt in script/test and autoformat codebase
cargo fmt without --all fails with "Failed to find targets" in workspace repos. This was blocking every story's gates. Also ran cargo fmt --all to fix all existing formatting issues. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -121,7 +121,11 @@ mod tests {
|
||||
// ── helpers ──────────────────────────────────────────────────────────────
|
||||
|
||||
/// Build a fresh CRDT and return its keypair along with a signed insert op.
|
||||
fn make_insert_op() -> (BaseCrdt<PipelineDoc>, bft_json_crdt::keypair::Ed25519KeyPair, SignedOp) {
|
||||
fn make_insert_op() -> (
|
||||
BaseCrdt<PipelineDoc>,
|
||||
bft_json_crdt::keypair::Ed25519KeyPair,
|
||||
SignedOp,
|
||||
) {
|
||||
let kp = make_keypair();
|
||||
let mut crdt = BaseCrdt::<PipelineDoc>::new(&kp);
|
||||
let item: JsonValue = json!({
|
||||
@@ -172,11 +176,7 @@ mod tests {
|
||||
fn roundtrip_delete_op() {
|
||||
let (mut crdt, kp, insert_op) = make_insert_op();
|
||||
// Delete the inserted item.
|
||||
let delete_op = crdt
|
||||
.doc
|
||||
.items
|
||||
.delete(insert_op.inner.id)
|
||||
.sign(&kp);
|
||||
let delete_op = crdt.doc.items.delete(insert_op.inner.id).sign(&kp);
|
||||
crdt.apply(delete_op.clone());
|
||||
|
||||
let bytes = encode(&delete_op);
|
||||
|
||||
Reference in New Issue
Block a user