From c82b0ddb111bbd4634220357a79c03567670d80b Mon Sep 17 00:00:00 2001 From: Iraq Jaber Date: Mon, 11 Aug 2025 09:07:55 +0100 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fix(projections): added check to make sure there cannot be 2 projections for the same table --- internal/query/projection/projection_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/query/projection/projection_test.go b/internal/query/projection/projection_test.go index b643612b36..c7b071163a 100644 --- a/internal/query/projection/projection_test.go +++ b/internal/query/projection/projection_test.go @@ -20,7 +20,7 @@ func TestStart(t *testing.T) { name: "happy path", projections: func(t *testing.T) []projection { ctrl := gomock.NewController(t) - projections := make([]projection, 5, 5) + projections := make([]projection, 5) for i := range 5 { mock := NewMockprojection(ctrl) @@ -35,7 +35,7 @@ func TestStart(t *testing.T) { { name: "same projection used twice error", projections: func(t *testing.T) []projection { - projections := make([]projection, 5, 5) + projections := make([]projection, 5) ctrl := gomock.NewController(t) mock := NewMockprojection(ctrl)