diff --git a/test/lisp/cus-edit-tests.el b/test/lisp/cus-edit-tests.el index 67a377e9073..770a1549c56 100644 --- a/test/lisp/cus-edit-tests.el +++ b/test/lisp/cus-edit-tests.el @@ -90,7 +90,7 @@ (erase-buffer)) (setopt cus-edit-test-foo1 :foo) (buffer-substring-no-properties (point-min) (point-max))))) - (should (string-search "Value `:foo' for variable `cus-edit-test-foo1' does not match its type \"number\"" + (should (string-search "Value does not match cus-edit-test-foo1's type `number': :foo\n" warn-txt)))) (defcustom cus-edit-test-bug63290-option nil