Kotlin: Fix the tests

The handling of Unit is very kludgy at the moment. Will need rethinking.
This commit is contained in:
Ian Lynagh
2021-08-10 16:25:57 +01:00
parent f0903726bf
commit 00cff5593f
4 changed files with 59 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
| classes.kt:0:0:0:0 | Unit |
| classes.kt:2:1:2:18 | ClassOne |
| classes.kt:4:1:6:1 | ClassTwo |
| classes.kt:8:1:10:1 | ClassThree |

View File

@@ -13,4 +13,3 @@ class ClassFour: ClassThree() {
override fun foo(arg: Int) {
}
}

View File

@@ -1,8 +1,14 @@
| methods2.kt:0:0:0:0 | equals |
| methods2.kt:0:0:0:0 | hashCode |
| methods2.kt:0:0:0:0 | toString |
| methods2.kt:7:1:10:1 | <init> |
| methods2.kt:7:1:10:1 | equals |
| methods2.kt:7:1:10:1 | hashCode |
| methods2.kt:7:1:10:1 | toString |
| methods2.kt:8:5:9:5 | fooBarClassMethod |
| methods.kt:0:0:0:0 | equals |
| methods.kt:0:0:0:0 | hashCode |
| methods.kt:0:0:0:0 | toString |
| methods.kt:5:1:8:1 | <init> |
| methods.kt:5:1:8:1 | equals |
| methods.kt:5:1:8:1 | hashCode |