Skip to content

Commit

Permalink
Update test/e2e/externalplugin/generate_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Bryce Palmer <everettraven@gmail.com>
  • Loading branch information
Eileen-Yu and everettraven committed May 23, 2023
1 parent 7c65085 commit 5a28069
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/e2e/externalplugin/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Check failure on line 76 in test/e2e/externalplugin/generate_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

unknown escape (typecheck)

Check failure on line 76 in test/e2e/externalplugin/generate_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

unknown escape sequence (typecheck)
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.")

Expand Down

0 comments on commit 5a28069

Please sign in to comment.