Glucose test

Why can't I have fruit or anything with sugar after my glucose test?