JS backend: _commonFiles/ for common kotlin files in testData/ and every test dir
This commit is contained in:
committed by
Zalim Bashorov
parent
9b433e31a2
commit
dd3dbe5b10
@@ -6,14 +6,6 @@ data class Dat(val start: String, middle: String, val end: String) {
|
||||
}
|
||||
}
|
||||
|
||||
fun assertEquals<T>(expected: T, actual: T) {
|
||||
if (expected != actual) throw Exception("expected: $expected, actual, $actual")
|
||||
}
|
||||
|
||||
fun assertNotEqual<T>(expected: T, actual: T) {
|
||||
if (expected == actual) throw Exception("unexpectedly equal: $expected and $actual")
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val d = Dat("max", "-", "min")
|
||||
assertEquals("maxmin", d.getLabel())
|
||||
|
||||
Reference in New Issue
Block a user