diff --git a/test/e2e/externalplugin/generate_test.go b/test/e2e/externalplugin/generate_test.go index 36c43b64a4e..55750ea1c5b 100644 --- a/test/e2e/externalplugin/generate_test.go +++ b/test/e2e/externalplugin/generate_test.go @@ -82,6 +82,7 @@ func GenerateProject(kbc *utils.TestContext) { initSubcommandConfigContainsExpr, err := pluginutil.HasFileContentWith( filepath.Join(kbc.Dir, "PROJECT"), initSubcommandConfigTmpl) ExpectWithOffset(1, err).NotTo(HaveOccurred(), "Check PROJECT should return no error.") + //nolint:lll ExpectWithOffset(1, initSubcommandConfigContainsExpr).To(BeTrue(), "The PROJECT file does not contain the expected config with the init subcommand.") By("creating API definition") @@ -110,6 +111,7 @@ resources: apiSubcommandConfigContainsExpr, err := pluginutil.HasFileContentWith( filepath.Join(kbc.Dir, "PROJECT"), apiSubcommandConfigTmpl) ExpectWithOffset(1, err).NotTo(HaveOccurred(), "Check PROJECT should return no error.") + //nolint:lll ExpectWithOffset(1, apiSubcommandConfigContainsExpr).To(BeTrue(), "The PROJECT file does not contain the expected config with the create api subcommand.") By("scaffolding webhook")