From 1abd865c6ccf37206927bce3903af0c207964208 Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Thu, 22 Oct 2020 13:33:00 +0300 Subject: [PATCH] Fix order of declarations in package in the klib test --- .../kotlin/org/jetbrains/kotlin/cli/klib/test/ContentsTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klib/src/test/kotlin/org/jetbrains/kotlin/cli/klib/test/ContentsTest.kt b/klib/src/test/kotlin/org/jetbrains/kotlin/cli/klib/test/ContentsTest.kt index ab55d672b03..64ea0c3633c 100644 --- a/klib/src/test/kotlin/org/jetbrains/kotlin/cli/klib/test/ContentsTest.kt +++ b/klib/src/test/kotlin/org/jetbrains/kotlin/cli/klib/test/ContentsTest.kt @@ -325,9 +325,9 @@ class ContentsTest { fun topLevelPropertiesWithClassesCustomPackage() = klibContents(testLibrary("TopLevelPropertiesWithClassesCustomPackage")) { """ package custom.pkg { + typealias MyTransformer = (String) -> Int object Bar class Foo constructor() - typealias MyTransformer = (String) -> Int } package custom.pkg { @@ -343,9 +343,9 @@ class ContentsTest { fun topLevelPropertiesWithClassesRootPackage() = klibContents(testLibrary("TopLevelPropertiesWithClassesRootPackage")) { """ package { + typealias MyTransformer = (String) -> Int object Bar class Foo constructor() - typealias MyTransformer = (String) -> Int } package {