From 385a27fad18e64ded70cfe0e14044d9b5038ec99 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Wed, 9 Jun 2021 19:47:50 +0530 Subject: Improve offset parsing in outtmpl --- test/test_YoutubeDL.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index e6508b889..0ffcaed91 100644 --- a/test/test_YoutubeDL.py +++ b/test/test_YoutubeDL.py @@ -752,6 +752,7 @@ class TestYoutubeDL(unittest.TestCase): test('%(formats.3)s', 'NA') test('%(formats.:2:-1)r', repr(FORMATS[:2:-1])) test('%(formats.0.id.-1+id)f', '1235.000000') + test('%(formats.0.id.-1+formats.1.id.-1)d', '3') # Empty filename test('%(foo|)s-%(bar|)s.%(ext)s', '-.mp4') -- cgit v1.2.3