Skip to content

Commit

Permalink
Handle modelTagName for UtCustomModel
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaMuravjov committed Jul 28, 2023
1 parent 14f5dcb commit e26100f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ class SpringTestClassModelBuilder(val context: CgContext): TestClassModelBuilder
is UtClassRefModel,
is UtVoidModel,
is UtEnumConstantModel -> {}
is UtCustomModel -> currentModel.origin?.let { collectRecursively(it.wrap(), allModels) }
is UtCustomModel -> currentModel.origin?.let {
collectRecursively(it.wrap(currentModelWrapper.modelTagName), allModels)
}
is UtLambdaModel -> {
currentModel.capturedValues.forEach { collectRecursively(it.wrap(), allModels) }
}
Expand Down

0 comments on commit e26100f

Please sign in to comment.