]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
authorArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 12 Nov 2015 23:32:40 +0000 (23:32 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 12 Nov 2015 23:32:40 +0000 (23:32 +0000)
test/automated/cl-lib-tests.el

index 9b230db99e40867cf1429cf6eef41c55d23fec1c..e2429b7de37623d80d7566b2df05f7024f27ef43 100644 (file)
                  (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))))