Skip to content

Commit 46fe809

Browse files
johnstcnmafredri
andauthored
Apply suggestions from code review
Co-authored-by: Mathias Fredriksson <[email protected]>
1 parent 95fba26 commit 46fe809

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ RUN date --utc > /root/date.txt`, testImageAlpine),
16231623
envbuilderEnv("CACHE_REPO", testRepo),
16241624
envbuilderEnv("GET_CACHED_IMAGE", "1"),
16251625
}})
1626-
require.Regexp(t, `uncached.*?command.*?is not supported in cache probe mode`, err.Error())
1626+
require.Regexp(t, `uncached.*command.*is not supported in cache probe mode`, err.Error())
16271627
})
16281628

16291629
t.Run("CacheAndPush", func(t *testing.T) {
@@ -1731,7 +1731,7 @@ RUN date --utc > /root/date.txt`, testImageAlpine),
17311731
_, err = runEnvbuilder(t, runOpts{env: append(opts,
17321732
envbuilderEnv("GET_CACHED_IMAGE", "1"),
17331733
)})
1734-
require.Regexp(t, "error probing build cache: uncached.*?command.*?is not supported in cache probe mode", err.Error())
1734+
require.Regexp(t, "error probing build cache: uncached.*command.*is not supported in cache probe mode", err.Error())
17351735
// Then: it should fail to build the image and nothing should be pushed
17361736
_, err = remote.Image(ref)
17371737
require.ErrorContains(t, err, "NAME_UNKNOWN", "expected image to not be present before build + push")

0 commit comments

Comments
 (0)