]> code.delx.au - gnu-emacs/blobdiff - test/automated/cl-lib-tests.el
* test/automated/package-test.el (package-test-signed): Tweak skip
[gnu-emacs] / test / automated / cl-lib-tests.el
index 9b230db99e40867cf1429cf6eef41c55d23fec1c..cbaf70fc4bb81994a76e49f70feb9a375f50dd23 100644 (file)
@@ -1,6 +1,6 @@
 ;;; cl-lib.el --- tests for emacs-lisp/cl-lib.el  -*- lexical-binding:t -*-
 
-;; Copyright (C) 2013-2015 Free Software Foundation, Inc.
+;; Copyright (C) 2013-2016 Free Software Foundation, Inc.
 
 ;; This file is part of GNU Emacs.
 
                  (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))))