Import pipeline: probe, hardlink, rename, layout (#82)
This commit was merged in pull request #82.
This commit is contained in:
@@ -423,3 +423,15 @@ fn non_tv_names_claim_no_episode() {
|
||||
assert_eq!(parse(name).episode, None, "{name}");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn normalisation_is_separator_and_case_blind() {
|
||||
let key = arr_parse::normalise("Dune.Part.Two.2024.2160p.WEB-DL.DDP5.1.Atmos");
|
||||
assert_eq!(key, "dune.part.two.2024.2160p.web.dl.ddp5.1.atmos");
|
||||
assert_eq!(
|
||||
arr_parse::normalise("dune part two [2024] 2160p WEB DL DDP5 1 atmos "),
|
||||
key,
|
||||
"the same release under different separators is the same blacklist key"
|
||||
);
|
||||
assert_eq!(arr_parse::normalise("!!!"), "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user