We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c238db commit 76dced2Copy full SHA for 76dced2
mokkery-plugin/src/main/kotlin/dev/mokkery/plugin/ir/transformer/mock/BuildMockClass.kt
@@ -254,10 +254,10 @@ private fun IrConstructor.addSpyParameter(classesToIntercept: List<IrClass>): Ir
254
}
255
256
private fun Name.createUniqueMockName(type: String) = asString()
257
- .plus($$"$$$type$$${randomString()}")
+ .plus("_$type}_${randomString()}")
258
.let(Name::identifier)
259
260
private fun FqName.createUniqueManyMockName() = shortName()
261
.asString()
262
- .plus($$"$$${randomString()}")
+ .plus("_${randomString()}")
263
0 commit comments