From 1b16d651aeffd83040f5906eb8cbb11387d461df Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Wed, 21 Dec 2022 14:09:35 +0200 Subject: [PATCH] [FIR] Disambiguate names of files with helpers in spec tests Test framework assumes that there won't be any files with same names in one test. But there were cases when test declared test file with same name as one of files with helpers (e.g. `functions.kt`) --- .../the-types-for-integer-literals/p-1/neg/2.5.fir.kt | 3 +-- .../the-types-for-integer-literals/p-1/neg/2.5.kt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt index 191c1952623..c3ff0e7f7d0 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt @@ -1,7 +1,6 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // SKIP_TXT -// FILE: functions.kt +// FILE: testFunctions.kt package functions diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt index e87aff53a35..fcefde121f6 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDE_IGNORE // SKIP_TXT @@ -12,7 +11,7 @@ * HELPERS: checkType */ -// FILE: functions.kt +// FILE: testFunctions.kt package functions