style: rustfmt and one clippy lint over the P5 files
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HS8WZziDnyxunC23MUxrLp
This commit is contained in:
1 parent
7bac25496e
commit
632938fa97
11 files changed
+302
-108
No files matched your search
@@ -2270,8 +2270,15 @@ fn books_written_under_older_rules_still_open() {
|
||||
.expect("the convention");
|
||||
assert_eq!(c.source.decided_by, "Pat Smith");
|
||||
assert_eq!(c.source.citation.as_deref(), Some("IRS Pub. 538"));
|
||||
assert_eq!((c.body_md.as_str(), c.revision), ("Reconcile, then close.", 1));
|
||||
let d = store.ledger().conventions().decision(1).expect("the decision");
|
||||
assert_eq!(
|
||||
(c.body_md.as_str(), c.revision),
|
||||
("Reconcile, then close.", 1)
|
||||
);
|
||||
let d = store
|
||||
.ledger()
|
||||
.conventions()
|
||||
.decision(1)
|
||||
.expect("the decision");
|
||||
assert_eq!(d.new.decided_by, ["Owner", "Pat Smith"]);
|
||||
assert_eq!(d.new.citation.as_deref(), Some("IRS Pub. 538"));
|
||||
assert_eq!(d.new.decision_md, "Five hundred dollars.");
|
||||
|
||||
Reference in new issue
Block a user