Skip to content

Commit 9dff75b

Browse files
committed
style(apl): rustfmt the canonical authn/authz e2e test
Reformat the adapter construction in the new test to satisfy `cargo fmt --all --check` (the CI Lint job). No behavior change. Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
1 parent ad5b44d commit 9dff75b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

crates/apl-cpex/tests/canonical_authn_authz_e2e.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ impl PluginFactory for RecordingIdentityFactory {
8383
name: config.name.clone(),
8484
ledger: Arc::clone(&self.ledger),
8585
});
86-
let adapter: Arc<dyn AnyHookHandler> =
87-
Arc::new(TypedHandlerAdapter::<IdentityHook, _>::new(Arc::clone(&plugin)));
86+
let adapter: Arc<dyn AnyHookHandler> = Arc::new(
87+
TypedHandlerAdapter::<IdentityHook, _>::new(Arc::clone(&plugin)),
88+
);
8889
Ok(PluginInstance {
8990
plugin: plugin as Arc<dyn Plugin>,
9091
handlers: vec![(HOOK_IDENTITY_RESOLVE, adapter)],

0 commit comments

Comments
 (0)