Migration to expect/actual: fix multiplatform integration tests

This commit is contained in:
Mikhail Glukhikh
2017-09-15 10:44:43 +03:00
parent 27615209ed
commit 85d6a4d1af
65 changed files with 394 additions and 394 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
header class Printer {
expect class Printer {
fun print(message: String)
}
+2 -2
View File
@@ -1,5 +1,5 @@
impl class Printer {
impl fun print(message: String) {
actual class Printer {
actual fun print(message: String) {
println("JS says: " + message)
}
}
+2 -2
View File
@@ -1,5 +1,5 @@
impl class Printer {
impl fun print(message: String) {
actual class Printer {
actual fun print(message: String) {
println("JVM says: " + message)
}
}