mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-10 19:17:25 +02:00
all: fix golangci-lint issues (#3064)
This commit is contained in:
@@ -493,7 +493,7 @@ func assertSSHTimeout(t *testing.T, client TailscaleClient, peer TailscaleClient
|
||||
|
||||
func assertSSHNoAccessStdError(t *testing.T, err error, stderr string) {
|
||||
t.Helper()
|
||||
assert.Error(t, err)
|
||||
require.Error(t, err)
|
||||
|
||||
if !isSSHNoAccessStdError(stderr) {
|
||||
t.Errorf("expected stderr output suggesting access denied, got: %s", stderr)
|
||||
|
||||
Reference in New Issue
Block a user