Skip to content

Commit 0eb27b7

Browse files
committed
style: 💄 linting
1 parent e90160f commit 0eb27b7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

kv_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ func TestDereferencePointers(t *testing.T) {
1111

1212
ptr := func(v string) *string { return &v }
1313

14-
err := With("hello", "world").Errorf(assert.AnError.Error()).(OopsError)
14+
err := With("hello", "world").Errorf(assert.AnError.Error()).(OopsError) //nolint:govet
1515
is.EqualValues(map[string]any{"hello": "world"}, err.Context())
1616

17-
err = With("hello", ptr("world")).Errorf(assert.AnError.Error()).(OopsError)
17+
err = With("hello", ptr("world")).Errorf(assert.AnError.Error()).(OopsError) //nolint:govet
1818
is.EqualValues(map[string]any{"hello": "world"}, err.Context())
1919

20-
err = With("hello", nil).Errorf(assert.AnError.Error()).(OopsError)
20+
err = With("hello", nil).Errorf(assert.AnError.Error()).(OopsError) //nolint:govet
2121
is.EqualValues(map[string]any{"hello": nil}, err.Context())
2222
}

stacktrace.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import (
1313
/// -> Apache 2.0 LICENSE
1414
///
1515

16-
type fake struct{}
17-
1816
var (
1917
StackTraceMaxDepth int = 10
2018

0 commit comments

Comments
 (0)