From 3f529e9ed55c7dc752e64881fb92d375d7702ee9 Mon Sep 17 00:00:00 2001 From: Joseph O'Brien <98370624+89jobrien@users.noreply.github.com> Date: Fri, 3 Apr 2026 19:07:47 -0400 Subject: [PATCH] style: replace emoji with [OK] in workflow summary; cargo fmt integration tests --- .gitea/workflows/public-ready.yml | 8 +++---- crates/notgraph/tests/integration.rs | 36 ++++++++++++++++++++++++---- 2 files changed, 36 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/public-ready.yml b/.gitea/workflows/public-ready.yml index 0d79971..8296853 100644 --- a/.gitea/workflows/public-ready.yml +++ b/.gitea/workflows/public-ready.yml @@ -108,9 +108,9 @@ jobs: - name: Public readiness summary if: success() run: | - echo "✅ No secrets or PII detected" - echo "✅ No hardcoded private addresses" - echo "✅ Licenses are OSS-compatible" - echo "✅ No secrets files tracked in git" + echo "[OK] No secrets or PII detected" + echo "[OK] No hardcoded private addresses" + echo "[OK] Licenses are OSS-compatible" + echo "[OK] No secrets files tracked in git" echo "" echo "This repository appears safe to mirror to a public GitHub repo." diff --git a/crates/notgraph/tests/integration.rs b/crates/notgraph/tests/integration.rs index 4a32493..7a26753 100644 --- a/crates/notgraph/tests/integration.rs +++ b/crates/notgraph/tests/integration.rs @@ -71,7 +71,14 @@ fn write_all_creates_expected_files() { let stats = analysis::analyse(&crate_graph, &module_graphs, 3); let symbol_tables: Vec = vec![]; - emit::write_all(out.path(), &crate_graph, &module_graphs, &stats, &symbol_tables).unwrap(); + emit::write_all( + out.path(), + &crate_graph, + &module_graphs, + &stats, + &symbol_tables, + ) + .unwrap(); assert!( out.path().join("report.html").exists(), @@ -99,7 +106,14 @@ fn write_all_sanitizes_hyphenated_crate_names() { let stats = analysis::analyse(&crate_graph, &module_graphs, 3); let symbol_tables: Vec = vec![]; - emit::write_all(out.path(), &crate_graph, &module_graphs, &stats, &symbol_tables).unwrap(); + emit::write_all( + out.path(), + &crate_graph, + &module_graphs, + &stats, + &symbol_tables, + ) + .unwrap(); let html = std::fs::read_to_string(out.path().join("report.html")).unwrap(); // Raw hyphenated names must not appear as unquoted node IDs @@ -128,7 +142,14 @@ fn write_all_heatmap_does_not_panic_for_single_crate() { let stats = analysis::analyse(&crate_graph, &module_graphs, 3); let symbol_tables: Vec = vec![]; - emit::write_all(out.path(), &crate_graph, &module_graphs, &stats, &symbol_tables).unwrap(); + emit::write_all( + out.path(), + &crate_graph, + &module_graphs, + &stats, + &symbol_tables, + ) + .unwrap(); let html = std::fs::read_to_string(out.path().join("report.html")).unwrap(); assert!( @@ -184,7 +205,14 @@ fn write_all_cycle_callout_appears_in_html() { let stats = analysis::analyse(&crate_graph, &module_graphs, 3); let symbol_tables: Vec = vec![]; - emit::write_all(out.path(), &crate_graph, &module_graphs, &stats, &symbol_tables).unwrap(); + emit::write_all( + out.path(), + &crate_graph, + &module_graphs, + &stats, + &symbol_tables, + ) + .unwrap(); let html = std::fs::read_to_string(out.path().join("report.html")).unwrap(); assert!(