Skip to content

Commit

Permalink
Merge pull request #125046 from tklauser/min-max-builtins
Browse files Browse the repository at this point in the history
Use Go 1.21 min/max builtins

Kubernetes-commit: 586f0fad5cc25d7b40ec5ee1dbfa8249b05f1a19
  • Loading branch information
k8s-publishing-bot committed Jan 30, 2025
2 parents 4c61591 + b93cf32 commit a2cb7d3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/labels/selector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,6 @@ func TestLexer(t *testing.T) {
}
}

func min(l, r int) (m int) {
m = r
if l < r {
m = l
}
return m
}

func TestLexerSequence(t *testing.T) {
testcases := []struct {
s string
Expand Down

0 comments on commit a2cb7d3

Please sign in to comment.