github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/release/update/s3_test.go (about) 1 // Copyright 2015 Keybase, Inc. All rights reserved. Use of 2 // this source code is governed by the included BSD license. 3 4 package update 5 6 import ( 7 "testing" 8 9 "github.com/stretchr/testify/assert" 10 "github.com/stretchr/testify/require" 11 ) 12 13 // TODO: Enable when we have test S3 credentials. 14 // TODO: Remove // nolint 15 func testFindRelease(t *testing.T) { // nolint 16 first := func(r Release) bool { return true } 17 release, err := platformDarwin.FindRelease("prerelease.keybase.io", first) 18 require.NoError(t, err) 19 t.Logf("Release: %#v", release) 20 assert.NotEqual(t, "", release.URL) 21 }