@@ -1070,12 +1070,12 @@ func TestFlattenRulesetRepositoryPropertyTargetParameters(t *testing.T) {
10701070 input := []* github.RepositoryRulesetRepositoryPropertyTargetParameters {
10711071 {
10721072 Name : "env" ,
1073- Source : github . Ptr ("custom" ),
1073+ Source : new ("custom "),
10741074 PropertyValues : []string {"prod" , "staging" },
10751075 },
10761076 {
10771077 Name : "tier" ,
1078- Source : github . Ptr ("system" ),
1078+ Source : new ("system "),
10791079 PropertyValues : []string {"premium" },
10801080 },
10811081 }
@@ -1108,7 +1108,7 @@ func TestFlattenRulesetRepositoryPropertyTargetParameters_EmptySource(t *testing
11081108 input := []* github.RepositoryRulesetRepositoryPropertyTargetParameters {
11091109 {
11101110 Name : "env" ,
1111- Source : github . Ptr ("" ),
1111+ Source : new (""),
11121112 PropertyValues : []string {"prod" },
11131113 },
11141114 }
@@ -1209,7 +1209,7 @@ func TestFlattenRulesetRepositoryPropertyTargetParameters_SingleProperty(t *test
12091209 input := []* github.RepositoryRulesetRepositoryPropertyTargetParameters {
12101210 {
12111211 Name : "env" ,
1212- Source : github . Ptr ("system" ),
1212+ Source : new ("system "),
12131213 PropertyValues : []string {"prod" , "staging" },
12141214 },
12151215 }
@@ -1259,7 +1259,7 @@ func TestFlattenRulesetRepositoryPropertyTargetParameters_EmptyPropertyValues(t
12591259 input := []* github.RepositoryRulesetRepositoryPropertyTargetParameters {
12601260 {
12611261 Name : "env" ,
1262- Source : github . Ptr ("custom" ),
1262+ Source : new ("custom "),
12631263 PropertyValues : []string {},
12641264 },
12651265 }
@@ -1280,7 +1280,7 @@ func TestFlattenRulesetRepositoryPropertyTargetParameters_NilPropertyValues(t *t
12801280 input := []* github.RepositoryRulesetRepositoryPropertyTargetParameters {
12811281 {
12821282 Name : "env" ,
1283- Source : github . Ptr ("custom" ),
1283+ Source : new ("custom "),
12841284 PropertyValues : nil ,
12851285 },
12861286 }
0 commit comments