aboutsummaryrefslogtreecommitdiff
path: root/test/test_div.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_div.py')
-rw-r--r--test/test_div.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_div.py b/test/test_div.py
index 4525c8be6..4d4819b3c 100644
--- a/test/test_div.py
+++ b/test/test_div.py
@@ -16,13 +16,14 @@ def test_simplify_title():
assert u'/' not in youtube_dl._simplify_title(u'abc/de')
assert u'abc' in youtube_dl._simplify_title(u'abc/de')
assert u'de' in youtube_dl._simplify_title(u'abc/de')
+ assert u'/' not in youtube_dl._simplify_title(u'abc/de///')
assert u'\\' not in youtube_dl._simplify_title(u'abc\\de')
assert u'abc' in youtube_dl._simplify_title(u'abc\\de')
assert u'de' in youtube_dl._simplify_title(u'abc\\de')
- # TODO: Fix #220
- #assert youtube_dl._simplify_title(u'ä') == u'ä'
+ assert youtube_dl._simplify_title(u'ä') == u'ä'
+ assert youtube_dl._simplify_title(u'кириллица') == u'кириллица'
# Strip underlines
assert youtube_dl._simplify_title(u'\'a_') == u'a'