about summary refs log tree commit diff
path: root/vendor/assets/stylesheets
diff options
context:
space:
mode:
authoraschmitz <aschmitz@lardbucket.org>2017-08-27 21:12:10 -0500
committerSurinna Curtis <ekiru.0@gmail.com>2017-09-02 11:37:40 -0500
commite18ed4bbc7ab4e258d05a3e2a5db0790f67a8f37 (patch)
treea08fe26c3200a3fbd90de9bbd0a187f12c6dd476 /vendor/assets/stylesheets
parent667df47168ce563328d393b267fff063d8767140 (diff)
Fix StatusLengthValidator tests
This fixes the StatusLengthValidator tests to use
StatusLengthValidator::MAX_CHARS to derive the length of the strings
tested, and so makes them resilient to changes in MAX_CHARS (such as the
one that made these tests fail, with it being changed from 500 to 512).

This seems a bit odd for some types of tests, but appears to make sense
here, where the testing goes beyond `status.length > MAX_CHARS`.
Diffstat (limited to 'vendor/assets/stylesheets')
0 files changed, 0 insertions, 0 deletions