Skip to content

Commit 1d505a4

Browse files
committed
fix: syslogng config test
Signed-off-by: Bence Csati <[email protected]>
1 parent d53a877 commit 1d505a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/sdk/logging/model/syslogng/config/config_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestRenderConfigInto(t *testing.T) {
3333
testCases := map[string]struct {
3434
input Input
3535
wantOut string
36-
wantErr any
36+
wantErr bool
3737
}{
3838
"empty input": {
3939
input: Input{
@@ -637,6 +637,7 @@ log {
637637
SourcePort: 601,
638638
SkipInvalidResources: true,
639639
},
640+
wantErr: false,
640641
wantOut: `@version: current
641642
642643
@include "scl.conf"
@@ -675,6 +676,7 @@ source "main_input" {
675676
SourcePort: 601,
676677
SkipInvalidResources: true,
677678
},
679+
wantErr: false,
678680
wantOut: `@version: current
679681
680682
@include "scl.conf"
@@ -738,6 +740,7 @@ source "main_input" {
738740
SourcePort: 601,
739741
SkipInvalidResources: true,
740742
},
743+
wantErr: false,
741744
wantOut: `@version: current
742745
743746
@include "scl.conf"

0 commit comments

Comments
 (0)