From: Artur Malabarba Date: Thu, 12 Nov 2015 23:32:40 +0000 (+0000) Subject: * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix X-Git-Tag: emacs-25.0.90~822 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0c92826;p=emacs.git * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix --- diff --git a/test/automated/cl-lib-tests.el b/test/automated/cl-lib-tests.el index 9b230db99e4..e2429b7de37 100644 --- a/test/automated/cl-lib-tests.el +++ b/test/automated/cl-lib-tests.el @@ -222,8 +222,8 @@ (def . ,(or `nil `(nil)))) t))))) (ert-deftest cl-lib-struct-constructors () - (should (equal (documentation 'cl-lib--con-2 t) - "Constructor docstring.")) + (should (string-match "\\`Constructor docstring." + (documentation 'cl-lib--con-2 t))) (should (mystruct-p (cl-lib--con-1))) (should (mystruct-p (cl-lib--con-2))))