diff --git a/src/calibre/db/tests/fts.py b/src/calibre/db/tests/fts.py index c3ff7f2ccf..96c8080b1b 100644 --- a/src/calibre/db/tests/fts.py +++ b/src/calibre/db/tests/fts.py @@ -77,6 +77,10 @@ class FTSTest(BaseTest): tokenize("a*b+c"), [t("a", 0, 1), t('b', 2, 3), t('c', 4, 5)] ) + self.ae( + tokenize("a(b[{^c"), + [t("a", 0, 1), t('b', 2, 3), t('c', 6, 7)] + ) self.ae( tokenize("a😀smile"), [t("a", 0, 1), t('😀', 1, 5), t('smile', 5, 10)]