databricks / databricks-sdk-go

Databricks SDK for Go
https://docs.databricks.com/dev-tools/sdk-go.html
Apache License 2.0
46 stars 38 forks source link

Noop minor refactoring of a `apierr/error_override_test.go` #954

Open renaudhartert-db opened 1 week ago

renaudhartert-db commented 1 week ago

Changes

This PR does a minor noop refactoring of apierr/error_override_test.go to better match the style of idiomatic table-tests. In particular, it:

Alternatively, we could give meaningful names to the subtests and keep them. Though, what these names should be was not obvious to me.

Tests

The test coverage is the same as before this change.

codecov-commenter commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@ce3dc98). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #954 +/- ## ====================================== Coverage ? 7.03% ====================================== Files ? 282 Lines ? 65398 Branches ? 0 ====================================== Hits ? 4602 Misses ? 60487 Partials ? 309 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.