APPROVE COMMIT
NOTE: This patch has been committed.
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1506783116 -3600
# Sat Sep 30 15:51:56 2017 +0100
# Node ID 7d977d2475494e52eb00fe1eb1fae9b33c5c672e
# Parent 82f2cfb6d5e65cb6aaddd215b77f4522b955c73d
Correct my Check-Error syntax, tests/automated/os-tests.el
tests/ChangeLog addition:
2017-09-30 Aidan Kehoe <kehoea(a)parhasard.net>
[...]
* automated/os-tests.el:
Call #'Check-Error correctly here when testing the restrictions on
the ZONE argument to #'encode-time
diff -r 82f2cfb6d5e6 -r 7d977d247549 tests/ChangeLog
--- a/tests/ChangeLog Sat Sep 30 14:47:13 2017 +0100
+++ b/tests/ChangeLog Sat Sep 30 15:51:56 2017 +0100
@@ -14,6 +14,9 @@
unicode-internal merge removed that charset, relying on the
just-in-time Unicode codepoint support for the corresponding
characters.
+ * automated/os-tests.el:
+ Call #'Check-Error correctly here when testing the restrictions on
+ the ZONE argument to #'encode-time
2017-09-24 Aidan Kehoe <kehoea(a)parhasard.net>
diff -r 82f2cfb6d5e6 -r 7d977d247549 tests/automated/os-tests.el
--- a/tests/automated/os-tests.el Sat Sep 30 14:47:13 2017 +0100
+++ b/tests/automated/os-tests.el Sat Sep 30 15:51:56 2017 +0100
@@ -125,11 +125,11 @@
;; Check some restrictions introduced to the ZONE argument to #'encode-time.
-(Check-Error (encode-time 24 4 20 11 5 2017 -86401) args-out-of-range)
+(Check-Error args-out-of-range (encode-time 24 4 20 11 5 2017 -86401))
(Assert (equal (encode-time 24 4 20 11 5 2017 -86400)
'(22806 . 5448))) ;; "05/12/17 09:04:25 PM"
(Assert (equal (encode-time 24 4 20 11 5 2017 86400)
'(22803 . 29256))) ;; "05/10/17 09:04:24 PM"
-(Check-Error (encode-time 24 4 20 11 5 2017 86401) args-out-of-range)
+(Check-Error args-out-of-range (encode-time 24 4 20 11 5 2017 86401))
;;; end of os-tests.el
--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’
(C. Moore)
Show replies by thread