From c02b28069142a29bfdeea956b5b8f873d3fbfcc0 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Tue, 23 May 2023 19:31:02 +0200 Subject: [PATCH] nit --- libs/template/validators_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/template/validators_test.go b/libs/template/validators_test.go index 3573592f..f0cbf8a1 100644 --- a/libs/template/validators_test.go +++ b/libs/template/validators_test.go @@ -35,7 +35,7 @@ func TestValidatorBoolean(t *testing.T) { assert.ErrorContains(t, err, "expected type boolean, but value is \"false\"") } -func TestValidatorFloat(t *testing.T) { +func TestValidatorNumber(t *testing.T) { err := validateNumber(true) assert.ErrorContains(t, err, "expected type float, but value is true")