Skip to content

Commit

Permalink
fix: restore import
Browse files Browse the repository at this point in the history
Trying to fix test failure in CI: "./uaa-release_test.go:48:3: undefined: Expect".
  • Loading branch information
swalchemist authored and Tallicia committed Aug 23, 2023
1 parent fd8a821 commit 821c9f1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/acceptance_tests/uaa-release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/extensions/table"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
)
Expand Down Expand Up @@ -141,7 +142,10 @@ var _ = Describe("UaaRelease", func() {

logLineWithoutTimestampRegex := ` uaa.* - \d+ \[([^]]+)\] - \[[^]]+\] .... (DEBUG|\sINFO|\sWARN) --- .+: .+`

DescribeTable("UAA log format", func(uaaLogFormat string, optFiles ...string) {
DescribeTable("UAA log format", func(
uaaLogFormat string,
optFiles ...string,
) {
deployUAA(optFiles...)

logPath := scpUAALog()
Expand Down Expand Up @@ -291,7 +295,10 @@ func scpUaaAuditLog() string {
return localUAALogPath
}

func getFingerPrint(certdata []byte) (string, error) {
func getFingerPrint(certdata []byte) (
string,
error,
) {
var block *pem.Block
block, _ = pem.Decode(certdata)

Expand Down

0 comments on commit 821c9f1

Please sign in to comment.