File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
pkg/sdk/logging/model/syslogng/config Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ func TestRenderConfigInto(t *testing.T) {
33
33
testCases := map [string ]struct {
34
34
input Input
35
35
wantOut string
36
- wantErr any
36
+ wantErr bool
37
37
}{
38
38
"empty input" : {
39
39
input : Input {
@@ -637,6 +637,7 @@ log {
637
637
SourcePort : 601 ,
638
638
SkipInvalidResources : true ,
639
639
},
640
+ wantErr : false ,
640
641
wantOut : `@version: current
641
642
642
643
@include "scl.conf"
@@ -675,6 +676,7 @@ source "main_input" {
675
676
SourcePort : 601 ,
676
677
SkipInvalidResources : true ,
677
678
},
679
+ wantErr : false ,
678
680
wantOut : `@version: current
679
681
680
682
@include "scl.conf"
@@ -738,6 +740,7 @@ source "main_input" {
738
740
SourcePort : 601 ,
739
741
SkipInvalidResources : true ,
740
742
},
743
+ wantErr : false ,
741
744
wantOut : `@version: current
742
745
743
746
@include "scl.conf"
You can’t perform that action at this time.
0 commit comments