diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2021-04-14 15:16:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 15:16:27 +0200 |
commit | acd9234be6909a69f89600e9c8ddde642d36b1cf (patch) | |
tree | 5494b5c6dbcd74c2cee408659fbcfef6d47def7d /plugins/base/src/test/kotlin/enums/EnumsTest.kt | |
parent | 357ee8a2836d96204343ff20cab8d17ad2f09aed (diff) | |
download | dokka-acd9234be6909a69f89600e9c8ddde642d36b1cf.tar.gz dokka-acd9234be6909a69f89600e9c8ddde642d36b1cf.tar.bz2 dokka-acd9234be6909a69f89600e9c8ddde642d36b1cf.zip |
Fix visibility on enum entry property (#1828)
Diffstat (limited to 'plugins/base/src/test/kotlin/enums/EnumsTest.kt')
-rw-r--r-- | plugins/base/src/test/kotlin/enums/EnumsTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/enums/EnumsTest.kt b/plugins/base/src/test/kotlin/enums/EnumsTest.kt index eb35085e..2535140c 100644 --- a/plugins/base/src/test/kotlin/enums/EnumsTest.kt +++ b/plugins/base/src/test/kotlin/enums/EnumsTest.kt @@ -115,7 +115,7 @@ class EnumsTest : BaseAbstractTest() { m.packages.let { p -> p.first().classlikes.let { c -> val enum = c.first() as DEnum - val (first, second) = enum.entries + val (first, second) = enum.entries.sortedBy { it.name } assertEquals(1, first.extra.allOfType<ConstructorValues>().size) assertEquals(1, second.extra.allOfType<ConstructorValues>().size) |