about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2021-01-14 00:37:51 +0700
committerSergey M․ <dstftw@gmail.com>2021-01-14 00:38:31 +0700
commitd81a213cfb66f6e3175980d763318bd81e31be02 (patch)
tree742470bab66edb711c98e53874c90243baf65049 /test
parent7c2d18a13f7eaa4008923ad73ed8e938229db848 (diff)
downloadyoutube-dl-d81a213cfb66f6e3175980d763318bd81e31be02.tar.gz
youtube-dl-d81a213cfb66f6e3175980d763318bd81e31be02.tar.xz
youtube-dl-d81a213cfb66f6e3175980d763318bd81e31be02.zip
[YoutubeDL] Raise syntax error for format selection expressions with multiple + operators (closes #27803)
Diffstat (limited to 'test')
-rw-r--r--test/test_YoutubeDL.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 62f916d11..4d62ba145 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -464,6 +464,7 @@ class TestFormatSelection(unittest.TestCase):
         assert_syntax_error('+bestaudio')
         assert_syntax_error('bestvideo+')
         assert_syntax_error('/')
+        assert_syntax_error('bestvideo+bestvideo+bestaudio')
 
     def test_format_filtering(self):
         formats = [