TestGetBuildxLocation tests that the buildx plugin path can be retrieved.
(t *testing.T)
| 57 | |
| 58 | // TestGetBuildxLocation tests that the buildx plugin path can be retrieved. |
| 59 | func TestGetBuildxLocation(t *testing.T) { |
| 60 | pluginPath, err := dockerutil.GetBuildxLocation() |
| 61 | require.NoError(t, err) |
| 62 | require.NotEmpty(t, pluginPath, "expected non-empty buildx plugin path") |
| 63 | } |
| 64 | |
| 65 | // TestCheckBuildx tests that CheckDockerBuildxVersion passes on a host with buildx installed. |
| 66 | func TestCheckBuildx(t *testing.T) { |
nothing calls this directly
no test coverage detected