Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eileen-Yu committed Aug 15, 2023
1 parent f2e05bc commit 8fac0bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/externalplugin/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 8fac0bf

Please sign in to comment.