Skip to content

Commit

Permalink
Rename tests to more accurately reflect what they do
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Magee <[email protected]>
  • Loading branch information
JamieMagee committed Dec 20, 2024
1 parent 1d3cd0b commit a58e4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/azuredevopsrepo/commits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func Test_listStatuses(t *testing.T) {
wantErr: false,
},
{
name: "HEAD - no statuses",
name: "main - no statuses",
ref: "main",
getRefs: func(ctx context.Context, args git.GetRefsArgs) (*git.GetRefsResponseValue, error) {
return &git.GetRefsResponseValue{
Expand All @@ -83,7 +83,7 @@ func Test_listStatuses(t *testing.T) {
wantErr: false,
},
{
name: "HEAD - single status",
name: "main - single status",
ref: "main",
getRefs: func(ctx context.Context, args git.GetRefsArgs) (*git.GetRefsResponseValue, error) {
return &git.GetRefsResponseValue{
Expand Down

0 comments on commit a58e4f5

Please sign in to comment.