Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vmishenev committed Dec 12, 2022
1 parent 5763166 commit e83f031
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
34 changes: 18 additions & 16 deletions plugins/base/src/test/kotlin/utils/contentUtils.kt
Expand Up @@ -206,25 +206,27 @@ fun ContentMatcherBuilder<*>.propertySignature(
link { +name }
platformHinted {
group {
annotations.entries.forEach {
group {
unwrapAnnotation(it)
group {
annotations.entries.forEach {
group {
unwrapAnnotation(it)
}
}
}
if (visibility.isNotBlank()) +"$visibility "
if (modifier.isNotBlank()) +"$modifier "
+("${keywords.joinToString("") { "$it " }}$preposition ")
link { +name }
if (type != null) {
+(": ")
group {
link {
+(type)
if (visibility.isNotBlank()) +"$visibility "
if (modifier.isNotBlank()) +"$modifier "
+("${keywords.joinToString("") { "$it " }}$preposition ")
link { +name }
if (type != null) {
+(": ")
group {
link {
+(type)
}
}
}
}
if (value != null) {
+(" = $value")
if (value != null) {
+(" = $value")
}
}
}
}
Expand Down
Expand Up @@ -231,9 +231,11 @@ class KotlinAsJavaPluginTest : BaseAbstractTest() {
}
platformHinted {
group {
+"public Int"
link {
+"publicProperty"
group {
+"public Int"
link {
+"publicProperty"
}
}
}
}
Expand Down

0 comments on commit e83f031

Please sign in to comment.