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.
assertEquals
String
1 parent ac667bb commit 405444fCopy full SHA for 405444f
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/tree/CgMethodConstructor.kt
@@ -659,7 +659,7 @@ open class CgMethodConstructor(val context: CgContext) : CgContextOwner by conte
659
}
660
// other primitives and string
661
else -> {
662
- require(expected.type.isPrimitive || expected.type == String::class.java) {
+ require(expected.type.isPrimitive || expected.type == stringClassId) {
663
"Expected primitive or String but got ${expected.type}"
664
665
assertions[assertEquals](expected, actual)
0 commit comments