diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/README.md b/tests/README.md index d21784b6..4f5a3169 100644 --- a/tests/README.md +++ b/tests/README.md @@ -87,10 +87,10 @@ There are, broadly speaking, three kinds of tests: To prevent bloat, it is important that the test images are kept as small as possible. To that effect, the test runner enforces a maximum size of 20 KiB. - If you're updating a test and hit `reference image size exceeds`, see - Updating reference images. - If truly necessary, this limit can however be lifted by adding `// LARGE` as - the first line of a test. + If you're updating a test and hit `reference image size exceeds`, see the + section on "Updating reference images" below. If truly necessary, the size + limit can be lifted by adding `// LARGE` as the first line of a test, but this + should be the case very rarely. If you have the choice between writing a test using assertions or using reference images, prefer assertions. This makes the test easier to understand |
