X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/07a4e9e62e5894238b4754102f6a1841b4630294..946c798dfc19047ae3cebe63d00db84ec525a9bc:/test/core-tests.el diff --git a/test/core-tests.el b/test/core-tests.el index dcadfd3ab..46d17093b 100644 --- a/test/core-tests.el +++ b/test/core-tests.el @@ -399,6 +399,9 @@ (and (ert-equal-including-properties (car list1) (car list2)) (ct-equal-including-properties (cdr list1) (cdr list2))))) +(ert-deftest company-strips-duplicates-returns-nil () + (should (null (company--preprocess-candidates nil)))) + (ert-deftest company-strips-duplicates-within-groups () (let* ((kvs '(("a" . "b") ("a" . nil)