fix tests by adding missing 'init' keywords to testdata
This commit is contained in:
@@ -3,7 +3,7 @@ val testExternal
|
||||
class Some(testParam : Int) {
|
||||
private val myVal : Int
|
||||
|
||||
{
|
||||
init {
|
||||
val testing = 12
|
||||
myVal = test<caret>
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
val some = 12
|
||||
class Some(someParam : Int) {
|
||||
{
|
||||
init {
|
||||
fun internalFun(someInternal : Int) : Int {
|
||||
return some<caret>
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ val testGlobal = 12
|
||||
|
||||
val test : Int get() {
|
||||
class SomeMore(testParam : Int) {
|
||||
{
|
||||
init {
|
||||
tes<caret>
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ class A<in I> {
|
||||
|
||||
private fun foo(): I = null!!
|
||||
|
||||
{
|
||||
init {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ class A<in I> {
|
||||
|
||||
private fun foo(): I = null!!
|
||||
|
||||
{
|
||||
init {
|
||||
this.<caret>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user