File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 88 "net/http"
99 "os"
1010 "path"
11+ "path/filepath"
1112 "strings"
1213 "testing"
1314 "time"
@@ -75,7 +76,7 @@ func TestExamples(t *testing.T) {
7576 "aws:region" : awsRegion ,
7677 },
7778 ExtraRuntimeValidation : func (t * testing.T , stack integration.RuntimeValidationStackInfo ) {
78- assertHTTPResult (t , "http://" + stack .Outputs ["websiteUrl " ].(string ), func (body string ) bool {
79+ assertHTTPResult (t , "http://" + stack .Outputs ["website_url " ].(string ), func (body string ) bool {
7980 return assert .Contains (t , body , "Hello, Pulumi!" )
8081 })
8182 },
@@ -417,7 +418,7 @@ func TestExamples(t *testing.T) {
417418
418419 for _ , ex := range tests {
419420 example := ex
420- t .Run (example .Dir , func (t * testing.T ) {
421+ t .Run (filepath . Base ( example .Dir ) , func (t * testing.T ) {
421422 integration .ProgramTest (t , & example )
422423 })
423424 }
You can’t perform that action at this time.
0 commit comments