]> git.openstreetmap.org Git - rails.git/commitdiff
Skip intermediate lengths when testing tag validity
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Jun 2021 08:53:57 +0000 (09:53 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Jun 2021 08:53:57 +0000 (09:53 +0100)
It's really the upper and lower boundaries that we want to check,
and it's reasonable to assume all the intermediate values will work
fine if the boundary values are tested.

This also saves about 75% of the time taken and almost 85% of the
assertions when running all the model tests.


No differences found