We're talking about a single example here. From the point of this example's readability I think it's better how it is now ("example" could be replaced by "spec").