We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118aa75 commit 4fb648dCopy full SHA for 4fb648d
main_test.go
@@ -57,11 +57,11 @@ func TestGenerateChangelog_Mocked(t *testing.T) {
57
mock.WithRequestMatch(
58
mock.GetReposPullsByOwnerByRepoByPullNumber,
59
github.PullRequest{
60
- Number: github.Int(42),
61
- Title: github.String("Add new feature"),
62
- Body: github.String("```release-note\nMy note for PR42\n```"),
+ Number: github.Ptr(42),
+ Title: github.Ptr("Add new feature"),
+ Body: github.Ptr("```release-note\nMy note for PR42\n```"),
63
Labels: []*github.Label{
64
- {Name: github.String("kind/new-feature")},
+ {Name: github.Ptr("kind/new-feature")},
65
},
66
67
),
0 commit comments