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) {
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"
You can’t perform that action at this time.
0 commit comments