If you don't tell, you're risking a trustworthy friendship with a friend that didn't make a mistake (the one being cheated on) and if they find out you knew and kept quiet it would suck.
If you do tell, the mistake is ultimately with the cheater and is THEIR fault that it happened, not your...