(t *testing.T)
| 1052 | } |
| 1053 | |
| 1054 | func TestCloneFailsFallback(t *testing.T) { |
| 1055 | t.Parallel() |
| 1056 | t.Run("BadRepo", func(t *testing.T) { |
| 1057 | t.Parallel() |
| 1058 | _, err := runEnvbuilder(t, runOpts{env: []string{ |
| 1059 | envbuilderEnv("GIT_URL", "bad-value"), |
| 1060 | }}) |
| 1061 | require.ErrorContains(t, err, envbuilder.ErrNoFallbackImage.Error()) |
| 1062 | }) |
| 1063 | } |
| 1064 | |
| 1065 | func TestBuildFailsFallback(t *testing.T) { |
| 1066 | t.Parallel() |
nothing calls this directly
no test coverage detected