Migration to expect/actual: fix multiplatform highlighting tests

This commit is contained in:
Mikhail Glukhikh
2017-09-15 10:51:27 +03:00
parent 85d6a4d1af
commit 32cc619f15
18 changed files with 54 additions and 54 deletions
@@ -1,4 +1,4 @@
header class My {
expect class My {
fun foo(): Int
@@ -6,7 +6,7 @@ header class My {
}
header class Your {
expect class Your {
fun foo(): Int
@@ -14,7 +14,7 @@ header class Your {
}
header class His {
expect class His {
fun foo(): Int
@@ -1,20 +1,20 @@
impl class <error>My</error> {
actual class <error>My</error> {
impl fun foo() = 42
actual fun foo() = 42
}
impl class Your {
actual class Your {
impl fun foo() = 13
actual fun foo() = 13
<error>impl fun bar(arg: Int)</error> = arg
<error>actual fun bar(arg: Int)</error> = arg
}
impl class His {
actual class His {
impl fun foo() = 7
actual fun foo() = 7
impl fun bar(arg: Int) = arg == foo()
actual fun bar(arg: Int) = arg == foo()
}