refac: missing mutation tests, spa specs, checks shown to pass, touch targets, catalogue entry, production code
This commit is contained in:
1 parent
7c15206170
commit
3e02e14da4
48 files changed
+2173
-83
No files matched your search
@@ -16,6 +16,7 @@ import (
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
@@ -42,12 +43,15 @@ const (
|
||||
)
|
||||
|
||||
type contentScopeRecorder struct {
|
||||
mu sync.Mutex
|
||||
events []audit.Event
|
||||
}
|
||||
|
||||
var _ audit.Recorder = &contentScopeRecorder{}
|
||||
|
||||
func (r *contentScopeRecorder) Record(_ context.Context, event audit.Event) {
|
||||
r.mu.Lock()
|
||||
defer r.mu.Unlock()
|
||||
r.events = append(r.events, event)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user