Skip to content

Commit 78d72f3

Browse files
committed
add a bit of extra validation
1 parent d463de4 commit 78d72f3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

integration/integration_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,11 @@ func TestBuildFromDockerfileAndConfig(t *testing.T) {
572572
require.Contains(t, logs, "Set DOCKER_CONFIG to /.envbuilder/.docker")
573573
require.Equal(t, want, got)
574574
}
575+
if tc.configFile.name != "" {
576+
require.Contains(t, logs, "this file will remain after the build")
577+
} else {
578+
require.NotContains(t, logs, "this file will remain after the build")
579+
}
575580
}
576581

577582
configJSONContainerPath := workingdir.Default.Join(".docker", "config.json")

0 commit comments

Comments
 (0)