From 7e703fe4b4996711ce90a578bd6fc394bdb6961f Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sat, 22 Aug 2026 15:55:26 +0300 Subject: [PATCH] chore: format bridge tests --- modules/work/application/agent_dispatch_test.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/work/application/agent_dispatch_test.go b/modules/work/application/agent_dispatch_test.go index dd04ff8..f28e4f0 100644 --- a/modules/work/application/agent_dispatch_test.go +++ b/modules/work/application/agent_dispatch_test.go @@ -14,8 +14,14 @@ type bridgeStore struct { } func (s *bridgeStore) SaveDispatchIntent(context.Context, work.AgentDispatchIntent) error { return nil } -func (s *bridgeStore) SaveAgentLease(_ context.Context, lease work.AgentLease) error { s.lease = lease; return nil } -func (s *bridgeStore) AcceptAgentCallback(_ context.Context, callback work.AgentCallback) error { s.callbacks = append(s.callbacks, callback); return nil } +func (s *bridgeStore) SaveAgentLease(_ context.Context, lease work.AgentLease) error { + s.lease = lease + return nil +} +func (s *bridgeStore) AcceptAgentCallback(_ context.Context, callback work.AgentCallback) error { + s.callbacks = append(s.callbacks, callback) + return nil +} type bridgeExecutor struct{}