Skip to content

Commit

Permalink
fix: Spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
  • Loading branch information
matthisholleville committed Apr 5, 2023
1 parent a24d1f1 commit ba4d701
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/analyzer/hpaAnalyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestHPAAnalyzerWithUnsuportedScaleTargetRef(t *testing.T) {
},
Spec: autoscalingv1.HorizontalPodAutoscalerSpec{
ScaleTargetRef: autoscalingv1.CrossVersionObjectReference{
Kind: "unsuported",
Kind: "unsupported",
},
},
})
Expand Down Expand Up @@ -115,7 +115,7 @@ func TestHPAAnalyzerWithUnsuportedScaleTargetRef(t *testing.T) {
}
}

func TestHPAAnalyzerWithUnexistentScaleTargetRef(t *testing.T) {
func TestHPAAnalyzerWithNonExistentScaleTargetRef(t *testing.T) {

clientset := fake.NewSimpleClientset(
&autoscalingv1.HorizontalPodAutoscaler{
Expand All @@ -127,7 +127,7 @@ func TestHPAAnalyzerWithUnexistentScaleTargetRef(t *testing.T) {
Spec: autoscalingv1.HorizontalPodAutoscalerSpec{
ScaleTargetRef: autoscalingv1.CrossVersionObjectReference{
Kind: "Deployment",
Name: "unexistent",
Name: "non-existent",
},
},
})
Expand Down

0 comments on commit ba4d701

Please sign in to comment.