Skip to content

Commit

Permalink
Add tests to titlecase (#3033)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilhermeHideki committed Nov 29, 2018
1 parent df0d307 commit 8a9ee51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_library.py
Expand Up @@ -589,6 +589,10 @@ def test_title_case_variable(self):
self._setf(u'%title{$title}')
self._assert_dest(b'/base/The Title')

def test_title_case_variable(self):
self._setf(u'%title{I can\'t}')
self._assert_dest(b'/base/I Can\'t')

def test_asciify_variable(self):
self._setf(u'%asciify{ab\xa2\xbdd}')
self._assert_dest(b'/base/abC_ 1_2 d')
Expand Down

0 comments on commit 8a9ee51

Please sign in to comment.