Skip to content

Commit

Permalink
Correct expected ordering of enum entries in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev committed Apr 26, 2022
1 parent fc540ac commit 6e20d40
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/base/src/test/kotlin/signatures/SignatureTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -882,14 +882,12 @@ class SignatureTest : BaseAbstractTest() {
.signature()
.select("div.block")

// TODO [beresnev] change ordering after https://github.com/Kotlin/dokka/pull/2469

enumEntrySignatures[1].match(
enumEntrySignatures[0].match(
A("EMPTY"),
ignoreSpanWithTokenStyle = true
)

enumEntrySignatures[0].match(
enumEntrySignatures[1].match(
A("WITH_ARG"), "(\"arg\")",
ignoreSpanWithTokenStyle = true
)
Expand Down

0 comments on commit 6e20d40

Please sign in to comment.