From a13ceded17757ef70fd8174314ab29c38c54d7c3 Mon Sep 17 00:00:00 2001 From: Jerome Guionnet Date: Mon, 11 Dec 2023 17:17:04 -0800 Subject: [PATCH] Change the test so it passes while still showing some diffs --- modules/helm/template_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/helm/template_test.go b/modules/helm/template_test.go index 6db5db24d..d1d097d21 100644 --- a/modules/helm/template_test.go +++ b/modules/helm/template_test.go @@ -137,7 +137,7 @@ func TestRemoteChartRenderDiff(t *testing.T) { var deployment appsv1.Deployment UnmarshalK8SYaml(t, output, &deployment) - // run the diff and assert there is one difference: the image name + // run the diff and assert there is only one difference: the image name number_of_diffs := DiffAgainstSnapshot(output, releaseName) require.Equal(t, 1, number_of_diffs) }