File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -1201,6 +1201,36 @@ packages:
1201
1201
with-expecter: false
1202
1202
recursive: true
1203
1203
with-expecter: false
1204
+ ` ,
1205
+ },
1206
+ {
1207
+ name : "empty map for subpackage of recursive package" ,
1208
+ cfgYaml : `
1209
+ with-expecter: False
1210
+ dir: foobar
1211
+ packages:
1212
+ github.com/vektra/mockery/v2/pkg/fixtures/example_project/pkg_with_subpkgs/subpkg2:
1213
+ config:
1214
+ recursive: True
1215
+ with-expecter: True
1216
+ all: True
1217
+ github.com/vektra/mockery/v2/pkg/fixtures/example_project/pkg_with_subpkgs/subpkg2/subpkg3: {}
1218
+ ` ,
1219
+ wantCfgMap : `dir: foobar
1220
+ packages:
1221
+ github.com/vektra/mockery/v2/pkg/fixtures/example_project/pkg_with_subpkgs/subpkg2:
1222
+ config:
1223
+ all: true
1224
+ dir: foobar
1225
+ recursive: true
1226
+ with-expecter: true
1227
+ github.com/vektra/mockery/v2/pkg/fixtures/example_project/pkg_with_subpkgs/subpkg2/subpkg3:
1228
+ config:
1229
+ all: true
1230
+ dir: foobar
1231
+ recursive: true
1232
+ with-expecter: true
1233
+ with-expecter: false
1204
1234
` ,
1205
1235
},
1206
1236
}
You can’t perform that action at this time.
0 commit comments