A wrong answer is wrong, but the correct response isn't always to fail. Imagine you added this and that caused 0.01% of orders to fail for 10 days while you debug the issue. Perhaps your assert is only stopping a 1 cent deviation from the correct order total - is it better to prevent 0.01% of orders in their entirety or have the absolute correct order total?
Also a value of $0 is a perfectly valid cost for food - maybe they are using a voucher, or some loyalty points, or something else. The Uber eats integration with McDonalds seems to print an order that costs £0.