If one chewed meat and spit it out (for example, for a child), they still must wait six hours before eating dairy, in line with the Rambam’s opinion that we wait for meat stuck between the teeth (שו”ע יו”ד פט:א). If one only tasted the meat with their tongue and did not chew at all, there is no need to wait, but you would still need to wash your mouth and eat something else before eating dairy.