We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b274df9 commit 99060d7Copy full SHA for 99060d7
1 file changed
pkg/github/repositories_test.go
@@ -1310,12 +1310,12 @@ func Test_ListBranches(t *testing.T) {
1310
// Setup mock branches for success case
1311
mockBranches := []*github.Branch{
1312
{
1313
- Name: github.String("main"),
1314
- Commit: &github.RepositoryCommit{SHA: github.String("abc123")},
+ Name: github.Ptr("main"),
+ Commit: &github.RepositoryCommit{SHA: github.Ptr("abc123")},
1315
},
1316
1317
- Name: github.String("develop"),
1318
- Commit: &github.RepositoryCommit{SHA: github.String("def456")},
+ Name: github.Ptr("develop"),
+ Commit: &github.RepositoryCommit{SHA: github.Ptr("def456")},
1319
1320
}
1321
0 commit comments