Minor. Fix test with obsolete enum syntax

This commit is contained in:
Denis Zharkov
2015-09-15 12:39:49 +03:00
parent 05eaf37123
commit eebe66e041
5 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
enum class Direction {
NORTH
NORTH,
SOUTH(val x : Int) {
fun again() : String {
return "Hello"
}
class Hello
}
},
WEST {
class Some {
fun test() : Int {
@@ -1,6 +1,6 @@
package test
enum class MyEnum { A;B }
enum class MyEnum { A, B }
fun foo(): Boolean = true
+1 -1
View File
@@ -1,7 +1,7 @@
package rendererTest
private enum class TheEnum(val rgb: Int) {
VAL1: TheEnum(0xFF0000)
VAL1(0xFF0000)
}
//package rendererTest
@@ -1,6 +1,5 @@
enum class A {
ONE
TWO
ONE, TWO
fun invoke(i: Int) = i
}
@@ -1,6 +1,5 @@
enum class A {
ONE
TWO
ONE, TWO
fun invoke(i: Int) = i
}