From 11ffd849c9d090c85ffb791f95035afef7bb5c55 Mon Sep 17 00:00:00 2001 From: ross96D Date: Mon, 25 Dec 2023 17:15:17 -0500 Subject: [PATCH] add test to validate array of int --- validate_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/validate_test.go b/validate_test.go index 0f444c71..60d682bf 100644 --- a/validate_test.go +++ b/validate_test.go @@ -532,6 +532,11 @@ var validateTests = []struct { typ: reflect.TypeOf([]any{}), input: []any{1, 2, 3}, }, + { + name: "array success", + typ: reflect.TypeOf([]int{}), + input: []int{1, 2, 3}, + }, { name: "expected array", typ: reflect.TypeOf([]any{}),