Skip to content

Commit

Permalink
fix: require in Test_BuildContainerFromDockerfileWithBuildLogWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
zenkovev committed Dec 19, 2024
1 parent a502690 commit 1d33ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ func Test_BuildContainerFromDockerfileWithBuildLogWriter(t *testing.T) {
out := buffer.String()
temp := strings.Split(out, "\n")
require.NotEmpty(t, temp)
assert.Regexpf(t, `^Step\s*1/\d+\s*:\s*FROM alpine$`, temp[0], "Expected stdout first line to be %s. Got '%s'.", "Step 1/* : FROM alpine", temp[0])
require.Regexpf(t, `^Step\s*1/\d+\s*:\s*FROM alpine$`, temp[0], "Expected stdout first line to be %s. Got '%s'.", "Step 1/* : FROM alpine", temp[0])
}

func TestContainerCreationWaitsForLogAndPortContextTimeout(t *testing.T) {
Expand Down

0 comments on commit 1d33ac6

Please sign in to comment.