I thought you said you didn't eat when you did this? If you didn't eat at all, yes, it would be bad. You say you had a snack though, which is good for you to do. At least, something goes in your body... You're fine (:
Snacking is still pretty much eating. Besides, fasting every now and then is actually pretty good for you.