From e427149d2edf43da0c7564ed70b5d457d36eac72 Mon Sep 17 00:00:00 2001 From: Shaun Remekie Date: Sat, 7 Oct 2023 18:32:55 +0100 Subject: [PATCH] fix factory test --- processor/starlarktransform/factory_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processor/starlarktransform/factory_test.go b/processor/starlarktransform/factory_test.go index 54b0bcea2d65..8d1e3f7e831b 100644 --- a/processor/starlarktransform/factory_test.go +++ b/processor/starlarktransform/factory_test.go @@ -12,5 +12,5 @@ func TestCreateDefaultConfig(t *testing.T) { cfg := factory.CreateDefaultConfig() assert.NoError(t, componenttest.CheckConfigStruct(cfg)) assert.NotNil(t, cfg) - assert.Equal(t, "def transform(event): return json.decode(event)", cfg.(*Config).Code) + assert.Equal(t, "def transform(e): return json.decode(e)", cfg.(*Config).Code) }