Update error message in TestSourceNotExisting for clarity (#13616)

pull/13620/head
Hari 3 weeks ago committed by GitHub
parent 627c9f1d35
commit 6a8612cedd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -20,7 +20,7 @@ func (ts *PackerHCPSbomTestSuite) TestSourceNotExisting() {
AddEnv("HOME", os.Getenv("HOME")).
AddEnv("PATH", os.Getenv("PATH")).
SetArgs("build", "templates/source_not_existing.pkr.hcl").
Assert(check.MustFail(), check.Grep("download failed for SBOM file"))
Assert(check.MustFail(), check.Grep("Failed to download SBOM file"))
}
// Greayed out because the communicator for the docker plugin does not return an error

Loading…
Cancel
Save