void () { doMemberTest(InspectionGadgetsBundle.message("unnecessary.default.quickfix"), """ enum E { A, B } int foo(E e) { return switch (e) { case A -> 1; case B -> 2; default/**/ -> 3; }; } """, """ enum E { A, B } int foo(E e) { return switch (e) { case A -> 1; case B -> 2; }; } """ ); }