Skip to content

Commit e9bc78c

Browse files
committed
chore: silence fatcontext on the deliberate per-level context nesting in the depth test
Signed-off-by: AkramBitar <akram@il.ibm.com>
1 parent 4f725df commit e9bc78c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

token/driver/identity_nesting_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ func TestEnterCompositeIdentity_UnseededContextUsesDefaults(t *testing.T) {
2626
for i := range maxDepth {
2727
next, err := EnterCompositeIdentity(ctx)
2828
require.NoError(t, err, "descent to depth %d should be allowed", i+1)
29+
//nolint:fatcontext // deriving one context per level is the mechanism under test: each
30+
// iteration stands in for one step down a nested composite identity, which is exactly how
31+
// the deserializers descend.
2932
ctx = next
3033
}
3134

0 commit comments

Comments
 (0)