Skip to content

Commit

Permalink
fix factory test
Browse files Browse the repository at this point in the history
  • Loading branch information
daidokoro committed Oct 7, 2023
1 parent fef18f6 commit e427149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/starlarktransform/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit e427149

Please sign in to comment.