Skip to content

Commit

Permalink
refactor: change the test name according to function name (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
art-tapin committed Apr 26, 2023
1 parent 758b5a2 commit 4f65e53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/common/apimachinery_status_conditions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
)

func TestCopyCondition(t *testing.T) {
func TestCopyConditions(t *testing.T) {
now := metav1.Now()
testCases := []struct {
name string
Expand Down Expand Up @@ -80,7 +80,7 @@ func TestCopyCondition(t *testing.T) {
}
}

func TestCopyCondition_OriginalConditionsNotModified(t *testing.T) {
func TestCopyConditions_OriginalConditionsNotModified(t *testing.T) {
now := metav1.Now()
expectedConditions := []metav1.Condition{
metav1.Condition{
Expand Down

0 comments on commit 4f65e53

Please sign in to comment.