emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#25535: closed ([PATCH] Update extant reference to


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#25535: closed ([PATCH] Update extant reference to ert--mismatch in documentation)
Date: Fri, 27 Jan 2017 09:52:02 +0000

Your message dated Fri, 27 Jan 2017 11:51:32 +0200
with message-id <address@hidden>
and subject line Re: bug#25535: [PATCH] Update extant reference to 
ert--mismatch in documentation
has caused the debbugs.gnu.org bug report #25535,
regarding [PATCH] Update extant reference to ert--mismatch in documentation
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
25535: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25535
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] Update extant reference to ert--mismatch in documentation Date: Wed, 25 Jan 2017 21:20:47 +0000
The commit "Stop reimplementing a bunch of cl- functions in ert"
removed ert--mismatch from ert.el, but did not remove references to it
in the ert documentation.

* doc/misc/ert.texi (Useful Techniques when Writing Tests): Replace
'ert--mismatch' references with its cl-lib replacement, 'cl-mismatch'.
---
 doc/misc/ert.texi | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/misc/ert.texi b/doc/misc/ert.texi
index b07cb0be49..4a2c29dcb9 100644
--- a/doc/misc/ert.texi
+++ b/doc/misc/ert.texi
@@ -551,15 +551,15 @@ Useful Techniques
 
 @lisp
 (ert-deftest ert-test-mismatch ()
-  (should (eql (ert--mismatch "" "") nil))
-  (should (eql (ert--mismatch "" "a") 0))
-  (should (eql (ert--mismatch "a" "a") nil))
-  (should (eql (ert--mismatch "ab" "a") 1))
-  (should (eql (ert--mismatch "Aa" "aA") 0))
-  (should (eql (ert--mismatch '(a b c) '(a b d)) 2)))
+  (should (eql (cl-mismatch "" "") nil))
+  (should (eql (cl-mismatch "" "a") 0))
+  (should (eql (cl-mismatch "a" "a") nil))
+  (should (eql (cl-mismatch "ab" "a") 1))
+  (should (eql (cl-mismatch "Aa" "aA") 0))
+  (should (eql (cl-mismatch '(a b c) '(a b d)) 2)))
 @end lisp
 
-This test calls the function @code{ert--mismatch} several times with
+This test calls the function @code{cl-mismatch} several times with
 various combinations of arguments and compares the return value to the
 expected return value.  (Some programmers prefer @code{(should (eql
 EXPECTED ACTUAL))} over the @code{(should (eql ACTUAL EXPECTED))}
-- 
2.11.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#25535: [PATCH] Update extant reference to ert--mismatch in documentation Date: Fri, 27 Jan 2017 11:51:32 +0200
> From: Vladimir Panteleev <address@hidden>
> Date: Wed, 25 Jan 2017 21:20:47 +0000
> Cc: Vladimir Panteleev <address@hidden>
> 
> The commit "Stop reimplementing a bunch of cl- functions in ert"
> removed ert--mismatch from ert.el, but did not remove references to it
> in the ert documentation.
> 
> * doc/misc/ert.texi (Useful Techniques when Writing Tests): Replace
> 'ert--mismatch' references with its cl-lib replacement, 'cl-mismatch'.

Thanks, installed.


--- End Message ---

reply via email to

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