From 51f30ed995caa9d4ffe7af5acb0f6024f53853d1 Mon Sep 17 00:00:00 2001 From: Dmitriy Dolovov Date: Fri, 27 Aug 2021 19:58:32 +0300 Subject: [PATCH] [Native][tests] localDelegatedPropertyLink - don't use golden data --- kotlin-native/backend.native/tests/build.gradle | 1 - .../tests/lower/local_delegated_property_link/main.kt | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kotlin-native/backend.native/tests/build.gradle b/kotlin-native/backend.native/tests/build.gradle index 5501077bf4a..ea22c752e2b 100644 --- a/kotlin-native/backend.native/tests/build.gradle +++ b/kotlin-native/backend.native/tests/build.gradle @@ -383,7 +383,6 @@ task slackReportNightly(type:NightlyReporter) { } linkTest("localDelegatedPropertyLink") { - goldValue = "OK\n" source = "lower/local_delegated_property_link/main.kt" lib = "lower/local_delegated_property_link/lib.kt" } diff --git a/kotlin-native/backend.native/tests/lower/local_delegated_property_link/main.kt b/kotlin-native/backend.native/tests/lower/local_delegated_property_link/main.kt index f9033e15661..8666e8da168 100644 --- a/kotlin-native/backend.native/tests/lower/local_delegated_property_link/main.kt +++ b/kotlin-native/backend.native/tests/lower/local_delegated_property_link/main.kt @@ -1,3 +1,5 @@ +import kotlin.test.* + fun main() { - println(foo()) + assertEquals("OK", foo()) }