Star forward Xherdan Shaqiri scored a rare right-footed goal to help Switzerland beat Peru 2-0 in its final World Cup warm-up match on Tuesday.
The Bayern Munich winger struck in the 84th minute, finishing smartly after taking a long through pass in his stride.
Switzerland right-back Stephan Lichtsteiner headed the opening goal in the 78th from left-back Ricardo Rodriguez's cross.
The slow-starting Swiss played their best football near the end, following the same pattern as their 1-0 win against Jamaica last Friday.
Coach Ottmar Hitzfeld's team leaves for Brazil on Friday with just one loss in 18 matches over the past two years.
Switzerland opens its Group E program against Ecuador on June 15 in Brasilia.
It then plays France in Salvador and Honduras in Manaus.