A Long Walk To Pittsburgh (1) - S4-E16
Character mistake: After learning that Topanga will be moving to Pittsburgh, Cory tries to rationalize their desire to be together for the rest of their lives despite still being so young by comparing their relationship to that of Romeo and Juliet, thinking they turned out OK. Shortly thereafter, he is shown reading the book in his backyard and explains the situation to Mr. Feeny, who advises him to skip to the end to find out what happens to their relationship, much to Cory's dismay. The problem is that Cory already learned the fate of Romeo and Juliet in Mr. Feeny's class in the first episode of the series. He was even dismissive over the idea of a man killing himself over a woman.
Chosen answer: In the present day, with the United States abiding by more stricter school health laws, for the most part this wouldn't be in school cafeterias as many cannot even have carbonated beverage machines now. However, in the 90s when the show takes place, it wasn't unheard of for there to be coffee machines in the cafeteria of small schools where the teachers eat with the students as we see them do often in the show. The idea being that the cafeteria was small enough so a teacher or hall monitor could catch a student before they could drink the coffee.