aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorEli Zaretskii2017-05-01 22:36:01 +0300
committerEli Zaretskii2017-05-01 22:36:01 +0300
commit80407a2d3fa0827288eaf4006f2af5e011402631 (patch)
treee679a8e40610d26f3e97268deb211998a09c58df /test/src
parentc2bbdc3316487e34eba1470dd059c0c290431e00 (diff)
downloademacs-80407a2d3fa0827288eaf4006f2af5e011402631.tar.gz
emacs-80407a2d3fa0827288eaf4006f2af5e011402631.zip
; Fix commentary in a recent commit
* test/src/editfns-tests.el (format-time-string-with-zone): Minor copyedit in the commentary.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/editfns-tests.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/src/editfns-tests.el b/test/src/editfns-tests.el
index 3fd3cc1305f..7ed146dd91a 100644
--- a/test/src/editfns-tests.el
+++ b/test/src/editfns-tests.el
@@ -141,13 +141,13 @@
141;;; even if tzdb is not in use. 141;;; even if tzdb is not in use.
142(ert-deftest format-time-string-with-zone () 142(ert-deftest format-time-string-with-zone ()
143 ;; Don’t use (0 0 0 0) as the test case, as there are too many bugs 143 ;; Don’t use (0 0 0 0) as the test case, as there are too many bugs
144 ;; in MSVC (and presumably other) C libraries when formatting time 144 ;; in MS-Windows (and presumably other) C libraries when formatting
145 ;; stamps near the Epoch of 1970-01-01 00:00:00 UTC, and this test 145 ;; time stamps near the Epoch of 1970-01-01 00:00:00 UTC, and this
146 ;; is for GNU Emacs, not for C runtimes. Instead, look before you 146 ;; test is for GNU Emacs, not for C runtimes. Instead, look before
147 ;; leap: "look" is the timestamp just before the first leap second 147 ;; you leap: "look" is the timestamp just before the first leap
148 ;; on 1972-06-30 23:59:60 UTC, so it should format to the same 148 ;; second on 1972-06-30 23:59:60 UTC, so it should format to the
149 ;; string regardless of whether the underlying C library ignores 149 ;; same string regardless of whether the underlying C library
150 ;; leap seconds, while avoiding circa-1970 glitches. 150 ;; ignores leap seconds, while avoiding circa-1970 glitches.
151 (let ((look '(1202 22527 999999 999999))) 151 (let ((look '(1202 22527 999999 999999)))
152 ;; UTC. 152 ;; UTC.
153 (should (string-equal 153 (should (string-equal