summaryrefslogtreecommitdiff
path: root/ivy-test.el
diff options
context:
space:
mode:
Diffstat (limited to 'ivy-test.el')
-rw-r--r--ivy-test.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/ivy-test.el b/ivy-test.el
index f850bbe..5cb8de0 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -1010,7 +1010,8 @@ Since `execute-kbd-macro' doesn't pick up a let-bound `default-directory'.")
(mapc (lambda (pair)
(dolist (str (cdr pair))
(ert-info ((format "%S" str) :prefix "String: ")
- (should (= (ivy-completion-common-length str) (car pair))))))
+ (should (= (with-no-warnings (ivy-completion-common-length str))
+ (car pair))))))
'((0 ""
#("a" 0 1 (face completions-first-difference))
#("ab" 0 1 (face completions-first-difference))