The adult version of marshmallow test is called hyperbolic discounting "the tendency for people to prefer a smaller, immediate payoff over a larger, delayed payoff." Find it here under top 10 mental faults:
https://listverse.com/2010/01/07/top-10-common-faults-in-human-thought/