From 0c928266114aa75c7bfa1842fe5023174d2984c8 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Thu, 12 Nov 2015 23:32:40 +0000 Subject: [PATCH] * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix --- test/automated/cl-lib-tests.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)))) -- 2.39.2