[AA] add generated tests for scripts
^KT-61431
This commit is contained in:
committed by
Space Team
parent
932c2a6e15
commit
5557ea690d
+4
-6
@@ -1,11 +1,9 @@
|
||||
// FILE: main.kts
|
||||
import a.b.c.dependency.Foo
|
||||
|
||||
fun foo<caret>(): a.b.c.dependency.Foo = t
|
||||
|
||||
// FILE: dependency.kt
|
||||
package a.b.c.dependency
|
||||
|
||||
import a.b.c.dependency.Foo.Nested
|
||||
|
||||
class Foo {
|
||||
class Nested
|
||||
}
|
||||
|
||||
fun foo<caret>(): a.b.c.dependency.Foo.Nested = t
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
[type] a.b.c.dependency.Foo
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
with SHORTEN_AND_IMPORT:
|
||||
[type] a.b.c.dependency.Foo
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
with SHORTEN_AND_STAR_IMPORT:
|
||||
[type] a.b.c.dependency.Foo
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
|
||||
+2
-4
@@ -1,9 +1,7 @@
|
||||
// FILE: main.kts
|
||||
fun foo<caret>(): a.b.c.dependency.Foo = t
|
||||
|
||||
// FILE: dependency.kt
|
||||
package a.b.c.dependency
|
||||
|
||||
class Foo {
|
||||
class Nested
|
||||
}
|
||||
|
||||
fun foo<caret>(): a.b.c.dependency.Foo.Nested = t
|
||||
|
||||
+3
@@ -1,4 +1,7 @@
|
||||
with DO_NOT_SHORTEN:
|
||||
with SHORTEN_IF_ALREADY_IMPORTED:
|
||||
[type] a.b.c.dependency.Foo
|
||||
with SHORTEN_AND_IMPORT:
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
with SHORTEN_AND_STAR_IMPORT:
|
||||
[type] a.b.c.dependency.Foo.Nested
|
||||
|
||||
Reference in New Issue
Block a user