From 8a57db5ffd6b44c8a1eba55e55094fb39073575f Mon Sep 17 00:00:00 2001 From: ProbstDJakob Date: Thu, 12 Jun 2025 11:15:48 +0200 Subject: [PATCH] fix: `TestToYaml` not working with 32-bit architectures (#2075) Signed-off-by: Jakob Probst --- pkg/tmpl/context_funcs_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tmpl/context_funcs_test.go b/pkg/tmpl/context_funcs_test.go index 598e33ad..58fdab40 100644 --- a/pkg/tmpl/context_funcs_test.go +++ b/pkg/tmpl/context_funcs_test.go @@ -201,7 +201,7 @@ func TestToYaml(t *testing.T) { }, { name: "test unmarshalling issue 2024 with int64", - input: map[string]any{"thisShouldBeString": 1234567890123456789}, + input: map[string]any{"thisShouldBeString": int64(1234567890123456789)}, expected: `thisShouldBeString: 1234567890123456789 `, },