style: cargo fmt --all (round 4 ingest log feature follow-up)
Phase C4 executor 의 마지막 `fix(test): clippy + fmt fixes` commit 이 test file 부분만 fmt 적용. workspace 전체 fmt 누락 발견 → cargo fmt --all 적용. 모든 import alphabetical reorder + line wrapping 정합. 추가 untracked artifact 동시 commit: - docs/superpowers/specs/2026-05-28-v0.20-ingest-log-spec.md (491 line, ACCEPT) - docs/superpowers/plans/2026-05-28-v0.20-ingest-log-plan.md (616 line, ACCEPT) workspace test: 1370 passed / 0 failed / 50 ignored, ingest_log_smoke green. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -52,8 +52,7 @@ fn assert_snapshot(fixture: &str, baseline: &str) {
|
||||
};
|
||||
let actual: Value = serde_json::to_value(&snap).unwrap();
|
||||
|
||||
let expected_text =
|
||||
fs::read_to_string(dir.join(baseline)).expect("snapshot baseline readable");
|
||||
let expected_text = fs::read_to_string(dir.join(baseline)).expect("snapshot baseline readable");
|
||||
let expected: Value = serde_json::from_str(&expected_text).expect("baseline parses as json");
|
||||
|
||||
if actual != expected {
|
||||
@@ -107,5 +106,8 @@ fn snapshot_is_deterministic_across_runs() {
|
||||
let bytes = fs::read(dir.join("frontmatter-only.md")).unwrap();
|
||||
let (a, _, _) = parse_frontmatter(&bytes, &pinned_hints()).unwrap();
|
||||
let (b, _, _) = parse_frontmatter(&bytes, &pinned_hints()).unwrap();
|
||||
assert_eq!(serde_json::to_value(&a).unwrap(), serde_json::to_value(&b).unwrap());
|
||||
assert_eq!(
|
||||
serde_json::to_value(&a).unwrap(),
|
||||
serde_json::to_value(&b).unwrap()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user