Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Use standard naming convention for initialisms
Browse files Browse the repository at this point in the history
  • Loading branch information
heidiberry committed Nov 3, 2024
1 parent f13ce6c commit 4755022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ type Compare struct {
Diffs []*Diff `json:"diffs"`
CompareTimeout bool `json:"compare_timeout"`
CompareSameRef bool `json:"compare_same_ref"`
WebUrl string `json:"web_url"`
WebURL string `json:"web_url"`
}

func (c Compare) String() string {
Expand Down
2 changes: 1 addition & 1 deletion repositories_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func TestRepositoriesService_Compare(t *testing.T) {
}},
CompareTimeout: false,
CompareSameRef: false,
WebUrl: "https://gitlab.example.com/thedude/gitlab-foss/-/compare/ae73cb07c9eeaf35924a10f713b364d32b2dd34f...0b4bc9a49b562e85de7cc9e834518ea6828729b9",
WebURL: "https://gitlab.example.com/thedude/gitlab-foss/-/compare/ae73cb07c9eeaf35924a10f713b364d32b2dd34f...0b4bc9a49b562e85de7cc9e834518ea6828729b9",
}

c, resp, err := client.Repositories.Compare("12d65c8dd2b2676fa3ac47d955accc085a37a9c1", opt, nil)
Expand Down

0 comments on commit 4755022

Please sign in to comment.