Skip to content

Commit

Permalink
Fix the order
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev committed Apr 6, 2023
1 parent 0a97005 commit 161b9d4
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -205,21 +205,21 @@ class InheritedAccessorsSignatureTest : BaseAbstractTest() {
"Expected 5 signatures: class signature, constructor, property and two accessor lookalikes"
)

val getterLookalikeFunction = signatures[2]
val getterLookalikeFunction = signatures[3]
getterLookalikeFunction.match(
"open fun ", A("getA"), "():", A("Int"),
ignoreSpanWithTokenStyle = true
)

val setterLookalikeFunction = signatures[3]
val setterLookalikeFunction = signatures[4]
setterLookalikeFunction.match(
"open fun ", A("setA"), "(", Parameters(
Parameter("a: ", A("Int"))
), ")",
ignoreSpanWithTokenStyle = true
)

val property = signatures[4]
val property = signatures[2]
property.match(
"var ", A("a"), ":", A("Int"),
ignoreSpanWithTokenStyle = true
Expand Down

0 comments on commit 161b9d4

Please sign in to comment.