From c2b3d73f11872be72aba83adffdea51516f828ea Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sat, 14 Nov 2026 00:02:07 +0000 Subject: [PATCH 1/2] test(tinysecurity-module): reformat serve_at call in browser dials test Reformatted the serve_at invocation in the browser dials authorization test to wrap its arguments across multiple lines, matching the surrounding style. No behaviour change. Auto-committed-on: cuttlefish Co-authored-by: Medulla --- crates/tinysecurity-module/src/adapter_tests.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/tinysecurity-module/src/adapter_tests.rs b/crates/tinysecurity-module/src/adapter_tests.rs index be2a5b5..b9c7b93 100644 --- a/crates/tinysecurity-module/src/adapter_tests.rs +++ b/crates/tinysecurity-module/src/adapter_tests.rs @@ -1662,7 +1662,9 @@ async fn browser_dials_are_authorized_when_audit_is_required() Some(Arc::new(audit)), ); assert!(service.audit_required()); - server.serve_at(names::OBJECT_PATH.try_into()?, service).await?; + server + .serve_at(names::OBJECT_PATH.try_into()?, service) + .await?; server.request_name(names::INTERFACE).await?; let client = Connection::connect(bus.connect().await?).await?; let proxy = client.proxy(names::INTERFACE, names::OBJECT_PATH, names::INTERFACE)?; From 2270778e56590c932a12512df786b11e26a939ad Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sat, 14 Nov 2026 00:02:29 +0000 Subject: [PATCH 2/2] docs(tinysecurity-module): wrap identifiers in doc comment backticks Wrap `TinySecurity` and `ERR_TUNNEL_CONNECTION_FAILED` in backticks within the test's doc comment so rustdoc renders them as code and the documentation lints stay quiet. Auto-committed-on: cuttlefish Co-authored-by: Medulla --- crates/tinysecurity-module/src/adapter_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/tinysecurity-module/src/adapter_tests.rs b/crates/tinysecurity-module/src/adapter_tests.rs index b9c7b93..466394a 100644 --- a/crates/tinysecurity-module/src/adapter_tests.rs +++ b/crates/tinysecurity-module/src/adapter_tests.rs @@ -1622,11 +1622,11 @@ async fn native_open_public_policy_and_credentials_only_redaction_dispatch() Ok(()) } -/// A host that runs TinySecurity as its secret authority makes audit required, +/// A host that runs `TinySecurity` as its secret authority makes audit required, /// and the browser dial members carry no audit correlation. They must still /// authorize, consume and validate: refusing them refused every browser /// navigation ("required audit needs bound permission", seen as Chrome's -/// ERR_TUNNEL_CONNECTION_FAILED on every page). +/// `ERR_TUNNEL_CONNECTION_FAILED` on every page). #[tokio::test] async fn browser_dials_are_authorized_when_audit_is_required() -> std::result::Result<(), Box> {