diff options
author | aschmitz <aschmitz@lardbucket.org> | 2017-08-27 21:12:10 -0500 |
---|---|---|
committer | Surinna Curtis <ekiru.0@gmail.com> | 2017-09-02 11:37:40 -0500 |
commit | e18ed4bbc7ab4e258d05a3e2a5db0790f67a8f37 (patch) | |
tree | a08fe26c3200a3fbd90de9bbd0a187f12c6dd476 /public/emoji/1f528.svg | |
parent | 667df47168ce563328d393b267fff063d8767140 (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 'public/emoji/1f528.svg')
0 files changed, 0 insertions, 0 deletions