swap case spec