emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 0c92826: * test/automated/cl-lib-tests.el (cl-lib-s


From: Artur Malabarba
Subject: [Emacs-diffs] master 0c92826: * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
Date: Thu, 12 Nov 2015 22:33:39 +0000

branch: master
commit 0c928266114aa75c7bfa1842fe5023174d2984c8
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
---
 test/automated/cl-lib-tests.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/automated/cl-lib-tests.el b/test/automated/cl-lib-tests.el
index 9b230db..e2429b7 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))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]