Removed obolete syntax for enum entries in test data

This commit is contained in:
Valentin Kipyatkov
2015-10-14 13:43:43 +03:00
parent 090ea37a32
commit c8135fe4f2
4 changed files with 8 additions and 8 deletions
@@ -3,7 +3,7 @@
val TOP_LEVEL = 5
enum class MyEnum(value: Int) {
VALUE : MyEnum(TOP_LEVEL)
VALUE(TOP_LEVEL)
}
fun main(args: Array<String>) {
@@ -1,7 +1,7 @@
package test
enum class D(n: Int) {
O: D(0)
A: D(1)
B: D(2)
O(0)
A(1)
B(2)
}
@@ -1,7 +1,7 @@
package test
enum class E(n: Int) {
O: E(0)
A: E(1)
B: E(2)
O(0)
A(1)
B(2)
}
+1 -1
View File
@@ -3,7 +3,7 @@ package test
val TOP_LEVEL = 5
enum class MyEnum(value: Int) {
VALUE : MyEnum(<caret>TOP_LEVEL)
VALUE(<caret>TOP_LEVEL)
}
// REF: (test).TOP_LEVEL