Skip to content

Commit 40e7cf6

Browse files
fix(test): update matcher_test to use renamed minInts/maxInts
1 parent 1a921a7 commit 40e7cf6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

backend/matcher_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func TestMin(t *testing.T) {
222222

223223
for _, tt := range tests {
224224
t.Run("", func(t *testing.T) {
225-
result := min(tt.input...)
225+
result := minInts(tt.input...)
226226
if result != tt.expected {
227227
t.Errorf("min(%v) = %d, want %d", tt.input, result, tt.expected)
228228
}
@@ -244,7 +244,7 @@ func TestMax(t *testing.T) {
244244

245245
for _, tt := range tests {
246246
t.Run("", func(t *testing.T) {
247-
result := max(tt.a, tt.b)
247+
result := maxInts(tt.a, tt.b)
248248
if result != tt.expected {
249249
t.Errorf("max(%d, %d) = %d, want %d", tt.a, tt.b, result, tt.expected)
250250
}

0 commit comments

Comments
 (0)