Move multiple UI issue tests to subdirectories

Issue tests numbered 1920, 3668, 5997, 23302, 32122, 40510, 57741, 71676, and 76077 were moved to relevant better-named subdirectories. ISSUES_ENTRY_LIMIT was adjusted to match new number of files and FIXME note was expanded.
This commit is contained in:
Marek 'seqre' Grzelak 2024-01-27 22:59:40 -06:00
parent 8a0b5ae199
commit ed55629879
No known key found for this signature in database
GPG key ID: 9A682889E94F47ED
53 changed files with 5 additions and 2 deletions

View file

@ -8,9 +8,12 @@
use std::fs;
use std::path::{Path, PathBuf};
// FIXME: GitHub's UI truncates file lists that exceed 1000 entries, so these
// should all be 1000 or lower. Limits significantly smaller than 1000 are also
// desirable, because large numbers of files are unwieldy in general. See issue
// #73494.
const ENTRY_LIMIT: usize = 900;
// FIXME: The following limits should be reduced eventually.
const ISSUES_ENTRY_LIMIT: usize = 1849;
const ISSUES_ENTRY_LIMIT: usize = 1807;
const ROOT_ENTRY_LIMIT: usize = 870;
const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[