diff --git a/jkube-kit/enricher/api/src/test/java/org/eclipse/jkube/kit/enricher/api/util/KubernetesResourceUtilTest.java b/jkube-kit/enricher/api/src/test/java/org/eclipse/jkube/kit/enricher/api/util/KubernetesResourceUtilTest.java index e58c060dc4..febfe626e9 100644 --- a/jkube-kit/enricher/api/src/test/java/org/eclipse/jkube/kit/enricher/api/util/KubernetesResourceUtilTest.java +++ b/jkube-kit/enricher/api/src/test/java/org/eclipse/jkube/kit/enricher/api/util/KubernetesResourceUtilTest.java @@ -632,7 +632,7 @@ private void verifyBuilder(PodTemplateSpecBuilder builder, List initC PodTemplateSpec spec = builder.build(); List initContainersInSpec = spec.getSpec().getInitContainers(); if (initContainersInSpec.isEmpty()) { - assertThat(initContainers).isNull();; + assertThat(initContainers).isNull(); } else { assertThat(initContainers).hasSameSizeAs(initContainersInSpec); for (int i = 0; i < initContainers.size(); i++) {