fix: improve coverage for config and git packages #17
Annotations
15 errors
|
Test (ubuntu-latest, 1.25)
Process completed with exit code 1.
|
|
Test (macos-latest, 1.25)
The strategy configuration was canceled because "test.ubuntu-latest_1_25" failed
|
|
Test (macos-latest, 1.25)
The operation was canceled.
|
|
Test (windows-latest, 1.25)
The strategy configuration was canceled because "test.ubuntu-latest_1_25" failed
|
|
Test (windows-latest, 1.25)
The operation was canceled.
|
|
Lint:
internal/config/sections_test.go#L104
Range statement for test TestGetSection missing the call to method parallel in test Run (paralleltest)
|
|
Lint:
internal/config/sections_test.go#L265
break with no blank line before (nlreturn)
|
|
Lint:
internal/config/sections_test.go#L213
continue with no blank line before (nlreturn)
|
|
Lint:
internal/config/sections_test.go#L138
continue with no blank line before (nlreturn)
|
|
Lint:
internal/config/sections_test.go#L130
continue with no blank line before (nlreturn)
|
|
Lint:
internal/config/sections_test.go#L123
return with no blank line before (nlreturn)
|
|
Lint:
internal/config/sections_test.go#L117
return with no blank line before (nlreturn)
|
|
Lint:
internal/config/sections_test.go#L112
return with no blank line before (nlreturn)
|
|
Lint:
internal/config/sections_test.go#L262
slicescontains: Loop can be simplified using slices.Contains (modernize)
|
|
Lint:
internal/config/sections_test.go#L7
cognitive complexity 42 of func `TestGetSection` is high (> 30) (gocognit)
|