From 8fac0bf1c887d5861dd546e50e8acb3cb2ebb12c Mon Sep 17 00:00:00 2001 From: Eileen Date: Mon, 14 Aug 2023 23:32:21 -0400 Subject: [PATCH] fix lint --- test/e2e/externalplugin/generate_test.go | 2 ++ 1 file changed, 2 insertions(+) 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")