aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/editfns-tests.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/src/editfns-tests.el b/test/src/editfns-tests.el
index f910afaf711..70dc9372fad 100644
--- a/test/src/editfns-tests.el
+++ b/test/src/editfns-tests.el
@@ -169,7 +169,11 @@
169 ;; Negative UTC offset, as a Lisp integer. 169 ;; Negative UTC offset, as a Lisp integer.
170 (should (string-equal 170 (should (string-equal
171 (format-time-string format look -28800) 171 (format-time-string format look -28800)
172 "1972-06-30 15:59:59.999 -0800 (-08)")) 172 ;; MS-Windows build replaces unrecognizable TZ values,
173 ;; such as "-08", with "ZZZ".
174 (if (eq system-type 'windows-nt)
175 "1972-06-30 15:59:59.999 -0800 (ZZZ)"
176 "1972-06-30 15:59:59.999 -0800 (-08)")))
173 ;; Positive UTC offset that is not an hour multiple, as a string. 177 ;; Positive UTC offset that is not an hour multiple, as a string.
174 (should (string-equal 178 (should (string-equal
175 (format-time-string format look "IST-5:30") 179 (format-time-string format look "IST-5:30")