From d10df34c65bbdcff39c9c7660ae4b9f5593cd26c Mon Sep 17 00:00:00 2001 From: diomekes Date: Fri, 20 Jan 2017 09:06:38 -0500 Subject: [PATCH] add test for aunique without brackets --- test/test_library.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_library.py b/test/test_library.py index 9e1301880..263254f6b 100644 --- a/test/test_library.py +++ b/test/test_library.py @@ -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):