aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-08-03 23:04:11 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-08-03 23:04:11 +0200
commitd96d604e5311628ece0234733dbbfe73a58c8d18 (patch)
tree6affc48668d6284700393a521f8856a27ec1815d /test
parente704f87f869b98bbed56d7dd0fe27710306c8272 (diff)
downloadyoutube-dl-d96d604e5311628ece0234733dbbfe73a58c8d18.tar.xz
YoutubeDL: format spec: don't accept a bare '/' (#6124)
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 20f45f439..9a3c28f8c 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -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 = [