Skip to content

Commit d6c50f9

Browse files
committed
update tnconfig structure in testcases
1 parent 6476704 commit d6c50f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/pkg/shell/shell_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ func TestTn_Exec(t *testing.T) {
229229
type fields struct {
230230
PreCmd []PreCmd
231231
PreInit []PreInit
232+
PreConf []PreConf
232233
PostInit []PostInit
233234
PostFini []PostFini
234235
Nodes []Node
@@ -253,6 +254,7 @@ func TestTn_Exec(t *testing.T) {
253254
tnconfig := &Tn{
254255
PreCmd: tt.fields.PreCmd,
255256
PreInit: tt.fields.PreInit,
257+
PreConf: tt.fields.PreConf,
256258
PostInit: tt.fields.PostInit,
257259
PostFini: tt.fields.PostFini,
258260
Nodes: tt.fields.Nodes,

0 commit comments

Comments
 (0)