[tests] Refactor AbstractReferenceResolveTest. Part 1

Instead of relying on UNRESOLVED_REFERENCE directive for the whole file,
just render the unresolved reference right in the .txt testdata

This will allow to introduce multi-caret resolve testdata more naturally

Required for KT-65152 and KT-62695
This commit is contained in:
Roman Golyshev
2024-01-18 13:54:31 +01:00
committed by Space Team
parent c958aef679
commit 304112cd8a
54 changed files with 61 additions and 65 deletions
@@ -1,4 +1,3 @@
// UNRESOLVED_REFERENCE
package test
class B(val n: Int) {
@@ -1,2 +1,2 @@
Resolved to:
0: (in test.B) operator fun set(i: kotlin.Int, a: test.B)
Nothing (Unresolved reference)