Lionel Messi came off the bench in the second half as Argentina beat Mauritania 2-1 in a World Cup warm-up friendly in Buenos Aires on Friday night.