From 1d33ac68a5d700512bcb780b73323ba0d15afffa Mon Sep 17 00:00:00 2001 From: zenkovev <89307802901@mail.ru> Date: Thu, 19 Dec 2024 13:33:13 +0300 Subject: [PATCH] fix: require in Test_BuildContainerFromDockerfileWithBuildLogWriter --- docker_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_test.go b/docker_test.go index 2595dcffee..eb92e15060 100644 --- a/docker_test.go +++ b/docker_test.go @@ -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) {