Skip to content

Commit

Permalink
echo -n
Browse files Browse the repository at this point in the history
  • Loading branch information
sreya committed Oct 20, 2024
1 parent 9a4fada commit 6665373
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dockerutil/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ package dockerutil_test
import (
"testing"

"github.com/coder/envbox/dockerutil"
"github.com/stretchr/testify/require"

"github.com/coder/envbox/dockerutil"
)

func TestAuthConfigFromString(t *testing.T) {
t.Parallel()

creds := `{ "auths": { "docker.registry.test": { "auth": "Zm9vQGJhci5jb206YWJjMTIzCg==" } } }`
creds := `{ "auths": { "docker.registry.test": { "auth": "Zm9vQGJhci5jb206YWJjMTIz" } } }`

Check failure on line 14 in dockerutil/client_test.go

View workflow job for this annotation

GitHub Actions / lint

G101: Potential hardcoded credentials (gosec)
expectedUsername := "[email protected]"
expectedPassword := "abc123"

Expand Down

0 comments on commit 6665373

Please sign in to comment.