Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes

This commit is contained in:
Valentin Kipyatkov
2015-05-08 17:51:31 +03:00
parent a1acc60ed3
commit 837e46a9b8
1453 changed files with 1717 additions and 1646 deletions
@@ -0,0 +1,16 @@
// "Move else branch to the end" "false"
// ERROR: 'else' entry must be the last one in a when-expression
// ERROR: 'else' entry must be the last one in a when-expression
// ERROR: Unreachable code
// ERROR: Unreachable code
package foo
fun foo() {
var i = 2
when (i) {
1, 2 -> { /* some code */ }
el<caret>se -> { /* first else branch */ }
else -> { /* second else branch */ }
3 -> { /* some other code */ }
}
}