Right, but parent didn't say anything about an all-in bet, just double-or-nothing on a positive EV bet.
Frankly, I'd repeatedly bet on a positive EV bet too; it's a guaranteed win if you're allowed to go on for as long as you want to.