Pesachim 112-1: Making your Shabbos Chol

How does this fit with the concept that what one spends on Shabbos and Yom Tov is not part of his allotment?