It should not start a new line before and after the "SET" like it does here:
Here's the raw query for the 2nd example:
ALTER TABLE o2_test ADD COLUMN enum_test2 ENUM('va1','val2','val3') AFTER set_test, ADD COLUMN set_test2 SET('va1','val2','val3') AFTER enum_test2