databricks-cli/libs/process
Denis Bilenko 1b2be1b2cb
Add error checking in tests and enable errcheck there (#1980)
## Changes
Fix all errcheck-found issues in tests and test helpers. Mostly this
done by adding require.NoError(t, err), sometimes panic() where t object
is not available).

Initial change is obtained with aider+claude, then manually reviewed and
cleaned up.

## Tests
Existing tests.
2024-12-09 13:56:41 +01:00
..
background.go Added process stubbing for easier testing of launched subprocesses (#963) 2023-11-09 14:24:05 +00:00
background_test.go Use Go 1.22 to build and test (#1562) 2024-07-04 06:54:41 +00:00
forwarded.go Added process stubbing for easier testing of launched subprocesses (#963) 2023-11-09 14:24:05 +00:00
forwarded_test.go Added `process.Background()` and `process.Forwarded()` (#804) 2023-09-27 09:04:44 +00:00
opts.go Attempt to reduce test flakiness on Windows (#1845) 2024-10-24 12:03:12 +00:00
opts_test.go Added `process.Background()` and `process.Forwarded()` (#804) 2023-09-27 09:04:44 +00:00
stub.go Stub out Python virtual environment installation for `labs` commands (#1057) 2023-12-11 16:30:19 +00:00
stub_test.go Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00