// "Replace with 'new Object[]{a}'" "false"
// "Replace with 'new Object[]{b}'" "false"

class Test {
  static void bar(boolean flag) {
    Object[] a = {1, 2};
    Object b = "hello";
    foo(0, 1, flag ? a : b<caret>);
  }
  static void foo(int x, Object... xs) {
  }
}
@@ -1,82 +1,85 @@
 // %22
-Replace with 'new Object%5B%5D%7Ba%7D'%22 %22false%22%0A// %22Replace with 'new Object%5B%5D%7Bb%7D'
+Fix all 'Suspicious ternary operator in varargs method call' problems in file
 %22 %22f

Fix test IDEA-244144