From bf7f4d5381203d5c27b2811d62c5b1781533aa2b Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 19 Nov 2025 17:01:36 +0000 Subject: fix some clippy fmt warnings --- grasp-audit/examples/simple_audit.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'grasp-audit/examples') diff --git a/grasp-audit/examples/simple_audit.rs b/grasp-audit/examples/simple_audit.rs index 411477c..e363d5c 100644 --- a/grasp-audit/examples/simple_audit.rs +++ b/grasp-audit/examples/simple_audit.rs @@ -8,12 +8,12 @@ use grasp_audit::*; async fn main() -> Result<()> { // Create audit config for CI testing let config = AuditConfig::ci(); - + println!("GRASP Audit Example"); println!("=================="); println!("Audit Run ID: {}", config.run_id); println!(); - + // Connect to relay println!("Connecting to relay at ws://localhost:7000..."); let client = match AuditClient::new("ws://localhost:7000", config).await { @@ -26,28 +26,28 @@ async fn main() -> Result<()> { return Err(e); } }; - + if !client.is_connected().await { eprintln!("Not connected to relay"); return Err(anyhow!("Connection failed")); } - + println!("✓ Connected"); println!(); - + // Run NIP-01 smoke tests println!("Running NIP-01 smoke tests..."); println!(); - + let results = specs::Nip01SmokeTests::run_all(&client).await; - + // Print results results.print_report(); - + // Exit with error if tests failed if !results.all_passed() { std::process::exit(1); } - + Ok(()) } -- cgit v1.2.3