String (String path) { // on case-insensitive file systems save paths in normalized (lowercase) format in order to make tests run deterministically return SystemInfo.isFileSystemCaseSensitive ? path : path.toLowerCase(Locale.US); }