Skip to content

Commit

Permalink
Update logging_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen-is-here committed Jun 7, 2024
1 parent f848250 commit cec83a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/logging_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ func testLogging(t *testing.T, context spec.G, it spec.S) {
fmt.Sprintf("%s 1.2.3", settings.Buildpack.Name),
" Resolving Nginx Server version",
" Candidate version sources (in priority order):",
` BP_NGINX_VERSION -> "1.24.*"`,
` BP_NGINX_VERSION -> "1.26.*"`,
` buildpack.yml -> "1.25.*"`,
))
Expect(logs).To(matchers.ContainLines(
MatchRegexp(` Selected Nginx Server version \(using BP_NGINX_VERSION\): 1\.24\.\d+`),
MatchRegexp(` Selected Nginx Server version \(using BP_NGINX_VERSION\): 1\.26\.\d+`),
))
Expect(logs).To(matchers.ContainLines(
" Executing build process",
Expand All @@ -121,4 +121,4 @@ func testLogging(t *testing.T, context spec.G, it spec.S) {
))
})
})
}
}

0 comments on commit cec83a4

Please sign in to comment.