YoutubeDL: format spec: don't accept a bare '/' (#6124)
[youtube-dl] / test / test_YoutubeDL.py
index 20f45f439748723998ce690cf54da55bfff34d29..9a3c28f8c101ff99cdc18504974bf1f69c29c410 100644 (file)
@@ -311,6 +311,7 @@ class TestFormatSelection(unittest.TestCase):
         assert_syntax_error('bestvideo,,best')
         assert_syntax_error('+bestaudio')
         assert_syntax_error('bestvideo+')
+        assert_syntax_error('/')
 
     def test_format_filtering(self):
         formats = [