style(strategy): satisfy revive error-strings in SSH auth test · Entire
style(strategy): satisfy revive error-strings in SSH auth test
cf7447a→main·
suhaanthayyil·2d ago·1 file·+1 added/-1 removed
Co-authored-by: Cursor cursoragent@cursor.com
Changes
1
cmd/entire/cli/strategy
Mpush_common_test.go+1/-1
1692 unmodified lines
1693
1694
1695
1696
1696
1697
1698
1699
1692 unmodified lines
func TestNonInteractiveSSHAuthFailure(t *testing.T) {
t.Parallel()
authErr := errors.New("git push: Permission denied (publickey).")
authErr := errors.New("permission denied (publickey)")
ctx := remote.WithNonInteractiveSSH(context.Background())
assert.True(t, nonInteractiveSSHAuthFailure(ctx, authErr))
assert.False(t, nonInteractiveSSHAuthFailure(context.Background(), authErr),
Mcmd/entire/cli/strategy/push_common_test.go+1/-1