fix(naming): label AC-4 audio as AC4 in file names

This commit is contained in:
imSp4rky
2026-12-02 17:52:16 -07:00
parent a4bc8b7efa
commit aa09751202
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ def test_layouts_without_heights_are_unchanged(layout: str | None, expected: str
@pytest.mark.parametrize(
("fmt", "expected"),
[("E-AC-3", "DDP5.1"), ("AC-3", "DD5.1"), ("AC-4", "AC-4 5.1"), ("AAC", "AAC5.1")],
[("E-AC-3", "DDP5.1"), ("AC-3", "DD5.1"), ("AC-4", "AC4 5.1"), ("AAC", "AAC5.1")],
)
def test_a_name_ending_in_a_digit_is_spaced_from_the_channels(fmt: str, expected: str) -> None:
assert named(fmt, "L R C LFE Ls Rs")["audio_full"] == expected