mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 15:03:22 +01:00
Update tests for new Unidecode behavior: fix #2799
The library has started putting spaces around the expanded versions of vulgar fraction characters.
This commit is contained in:
parent
8d0e76383b
commit
9577a511cb
1 changed files with 2 additions and 2 deletions
|
|
@ -427,7 +427,7 @@ class DestinationTest(_common.TestCase):
|
|||
self.lib.directory = b'lib'
|
||||
self.lib.path_formats = [(u'default', u'$title')]
|
||||
self.i.title = u'ab\xa2\xbdd'
|
||||
self.assertEqual(self.i.destination(), np('lib/abC_1_2d'))
|
||||
self.assertEqual(self.i.destination(), np('lib/abC_ 1_2 d'))
|
||||
|
||||
def test_destination_with_replacements(self):
|
||||
self.lib.directory = b'base'
|
||||
|
|
@ -591,7 +591,7 @@ class DestinationFunctionTest(_common.TestCase, PathFormattingMixin):
|
|||
|
||||
def test_asciify_variable(self):
|
||||
self._setf(u'%asciify{ab\xa2\xbdd}')
|
||||
self._assert_dest(b'/base/abC_1_2d')
|
||||
self._assert_dest(b'/base/abC_ 1_2 d')
|
||||
|
||||
def test_left_variable(self):
|
||||
self._setf(u'%left{$title, 3}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue