Commit fc0b7ba iasergunin
committed
1 parent 77d5280 commit fc0b7ba Copy full SHA for fc0b7ba
File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,14 @@ issues:
85
85
linters :
86
86
- wsl
87
87
text : " only cuddled expressions if assigning variable or using from line above"
88
+ - path : _test\.go
89
+ linters :
90
+ - wsl
91
+ text : " assignments should only be cuddled with other assignments"
92
+ - path : _test\.go
93
+ linters :
94
+ - revive
95
+ text : " seems to be unused, consider removing or renaming it as _"
88
96
- path : _test\.go
89
97
linters :
90
98
- revive
Original file line number Diff line number Diff line change @@ -743,9 +743,9 @@ func Test_transactionManager_Do_Cancel(t *testing.T) {
743
743
WithSettings (tt .fields .settings ),
744
744
)
745
745
746
- err := error (nil )
747
- wg := sync.WaitGroup {}
746
+ var err error
748
747
748
+ wg := sync.WaitGroup {}
749
749
wg .Add (1 )
750
750
751
751
ctx , cancel := tt .ctx (context .Background ())
You can’t perform that action at this time.
0 commit comments