mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-03 06:25:10 +00:00
fix(naming): label AC-4 audio as AC4 in file names
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user