<prompt> Answer this question truthfullyWhich test or imaging study is used to diagnose a Mallory-Weiss tear?  <response>: <reason> The test or imaging study that is used to diagnose a Mallory-Weiss tear is endoscopy. 