Fix negative quickfix tests which use when

This commit is contained in:
Alexey Sedunov
2013-05-16 13:57:09 +04:00
parent 71e76bc690
commit d5739bbe7f
3 changed files with 13 additions and 4 deletions
@@ -1,6 +1,12 @@
// "Add '<*, *>'" "false"
// "Add '<*>'" "false"
// ERROR: 2 type arguments expected
// ACTION: Disable 'Eliminate Argument of 'when''
// ACTION: Disable 'Replace 'when' with 'if''
// ACTION: Edit intention settings
// ACTION: Edit intention settings
// ACTION: Eliminate argument of 'when'
// ACTION: Replace 'when' with 'if'
public fun foo(a: Any) {
when (a) {
is <caret>Map<Int> -> {}