mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-25 19:01:35 +01:00
modernize: run gopls modernize to bring up to 1.25 (#2920)
This commit is contained in:
@@ -56,13 +56,6 @@ type NodeSystemStatus struct {
|
||||
NodeStore bool
|
||||
}
|
||||
|
||||
// requireNotNil validates that an object is not nil and fails the test if it is.
|
||||
// This helper provides consistent error messaging for nil checks in integration tests.
|
||||
func requireNotNil(t *testing.T, object interface{}) {
|
||||
t.Helper()
|
||||
require.NotNil(t, object)
|
||||
}
|
||||
|
||||
// requireNoErrHeadscaleEnv validates that headscale environment creation succeeded.
|
||||
// Provides specific error context for headscale environment setup failures.
|
||||
func requireNoErrHeadscaleEnv(t *testing.T, err error) {
|
||||
|
||||
Reference in New Issue
Block a user