fix(deps): update module github.com/stretchr/testify to v1.10.0 #186
Annotations
10 errors and 1 warning
golangci-lint:
src/metrics/metric_test.go#L64
64-90 lines are duplicate of `src/metrics/metric_test.go:133-159` (dupl)
|
golangci-lint:
src/metrics/metric_test.go#L133
133-159 lines are duplicate of `src/metrics/metric_test.go:64-90` (dupl)
|
golangci-lint:
src/metrics/stats_test.go#L27
Function 'Test_collectBindingStats' is too long (105 > 100) (funlen)
|
golangci-lint:
src/data/queue_data_test.go#L13
Function 'TestQueueData_UnmarshalJSON_MarshalMetrics' has too many statements (52 > 50) (funlen)
|
golangci-lint:
src/args/rabbitmq_args.go#L50
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
src/args/rabbit_args_test.go#L72
regexpMust: for const patterns like "four-.*", use regexp.MustCompile (gocritic)
|
golangci-lint:
src/testutils/test_logger_test.go#L14
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
golangci-lint:
src/inventory/inventory_test.go#L165
badCall: suspicious Join on 1 argument (gocritic)
|
golangci-lint:
src/inventory/inventory_test.go#L247
exitAfterDefer: os.Exit will exit, and `defer os.Exit(0)` will not run (gocritic)
|
golangci-lint:
src/inventory/inventory_test.go#L251
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
Check if CHANGELOG is valid
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading