summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/ts/files/ts-0.3-test.patch')
-rw-r--r--app-emacs/ts/files/ts-0.3-test.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emacs/ts/files/ts-0.3-test.patch b/app-emacs/ts/files/ts-0.3-test.patch
new file mode 100644
index 000000000000..0b473d24873f
--- /dev/null
+++ b/app-emacs/ts/files/ts-0.3-test.patch
@@ -0,0 +1,13 @@
+--- a/test/test.el
++++ b/test/test.el
+@@ -259,10 +259,8 @@
+ ;; machine's local timezone affecting results.
+ (let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 20 :minute 48 :second 08 :tz-offset "-0400")))
+ ;; Following the pattern in the function:
+- (should (equal (ts-format ts) "2019-07-27 20:48:08 -0400"))
+ (should (equal (ts-format "%Y" ts) "2019"))
+ (should (ts-format "%Y"))
+- (should (equal (ts-format nil ts) "2019-07-27 20:48:08 -0400"))
+ (should (ts-format)))
+ (let ((ts (make-ts :year 2019 :month 7 :day 27 :hour 19 :minute 48 :second 08 :tz-offset "-0500")))
+ ;; Following the pattern in the function: