From 5a28069e8f166ce19a9d354f85f4dfa7e32a819f Mon Sep 17 00:00:00 2001 From: Eileen <48944635+Eileen-Yu@users.noreply.github.com> Date: Tue, 23 May 2023 17:40:00 -0400 Subject: [PATCH] Update test/e2e/externalplugin/generate_test.go Co-authored-by: Bryce Palmer --- test/e2e/externalplugin/generate_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/e2e/externalplugin/generate_test.go b/test/e2e/externalplugin/generate_test.go index 5f7a4c2d14e..0504d1b87ca 100644 --- a/test/e2e/externalplugin/generate_test.go +++ b/test/e2e/externalplugin/generate_test.go @@ -73,8 +73,7 @@ func GenerateProject(kbc *utils.TestContext) { initFileContainsExpr, err := pluginutil.HasFileContentWith( filepath.Join(kbc.Dir, "initFile.txt"), - `A simple text file created with the`+" `"+`init`+"`"+` subcommand -DOMAIN: sample.domain.com`) +"A simple text file created with the \`init\` subcommand\nDOMAIN: sample.domain.com") ExpectWithOffset(1, err).NotTo(HaveOccurred(), "Check initFile.txt should return no error.") ExpectWithOffset(1, initFileContainsExpr).To(BeTrue(), "The init file does not contain the expected expression.")