add test for aunique without brackets
@@ -740,6 +740,10 @@ class DisambiguationTest(_common.TestCase, PathFormattingMixin):
self._setf(u'foo%aunique{albumartist album,year,()}/$title')
self._assert_dest(b'/base/foo (2001)/the title', self.i1)
+ def test_remove_brackets(self):
+ self._setf(u'foo%aunique{albumartist album,year, }/$title')
+ self._assert_dest(b'/base/foo 2001/the title', self.i1)
+
class PluginDestinationTest(_common.TestCase):
def setUp(self):
