void () { getSettings().CASE_STATEMENT_ON_NEW_LINE = false; doMethodTest(""" String s = switch (i) { case 0: yield(foo) ; case 1: yield 42 ; case 3: yield label ; case 4: yield ; }""", """ String s = switch (i) { case 0: yield (foo); case 1: yield 42; case 3: yield label; case 4: yield ; }"""); }