Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove inlined pointer helpers
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
  • Loading branch information
BagToad and Copilot committed Aug 26, 2026
commit 6ba92300af7d717557fa75f234369d605a3c84e1
5 changes: 0 additions & 5 deletions pkg/cmd/codespace/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,3 @@ func apiCreateDefaults(c *apiClientMock) *apiClientMock {
}
return c
}

//go:fix inline
func durationPtr(d time.Duration) *time.Duration {
return new(d)
}
5 changes: 0 additions & 5 deletions pkg/cmd/release/create/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2007,8 +2007,3 @@ func Test_gitTagInfo(t *testing.T) {
})
}
}

//go:fix inline
func boolPtr(b bool) *bool {
return new(b)
}
10 changes: 0 additions & 10 deletions pkg/cmd/release/edit/edit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,13 +574,3 @@ func Test_editRelease_bodyReadError(t *testing.T) {
type errorReader struct{ err error }

func (e errorReader) Read(_ []byte) (int, error) { return 0, e.err }

//go:fix inline
func boolPtr(b bool) *bool {
return new(b)
}

//go:fix inline
func stringPtr(s string) *string {
return new(s)
}
10 changes: 0 additions & 10 deletions pkg/cmd/repo/edit/edit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -994,13 +994,3 @@ func Test_validateSquashMergeCommitMsg(t *testing.T) {
assert.Error(t, validateSquashMergeCommitMsg("blah"))
assert.Error(t, validateSquashMergeCommitMsg(""))
}

//go:fix inline
func sp(v string) *string {
return new(v)
}

//go:fix inline
func bp(b bool) *bool {
return new(b)
}