From 77dbfea6f491c45bb6fa6b67b99e55f883c1ed0c Mon Sep 17 00:00:00 2001 From: Max Nikulin Date: Tue, 3 May 2022 17:59:11 +0700 Subject: [PATCH 2/6] test-org.el: Fix tests for `org-parse-time-string' * testing/lisp/test-org.el (ert-deftest test-org/org-parse-time-string): Update test expectations to use DST of -1 (guess) after fix of `org-parse-time-string'. --- testing/lisp/test-org.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el index ca0dc676b..4b5105a57 100644 --- a/testing/lisp/test-org.el +++ b/testing/lisp/test-org.el @@ -268,15 +268,15 @@ (ert-deftest test-org/org-parse-time-string () "Test `org-parse-time-string'." (should (equal (org-parse-time-string "2012-03-29 16:40") - '(0 40 16 29 3 2012 nil nil nil))) + '(0 40 16 29 3 2012 nil -1 nil))) (should (equal (org-parse-time-string "[2012-03-29 16:40]") - '(0 40 16 29 3 2012 nil nil nil))) + '(0 40 16 29 3 2012 nil -1 nil))) (should (equal (org-parse-time-string "<2012-03-29 16:40>") - '(0 40 16 29 3 2012 nil nil nil))) + '(0 40 16 29 3 2012 nil -1 nil))) (should (equal (org-parse-time-string "<2012-03-29>") - '(0 0 0 29 3 2012 nil nil nil))) + '(0 0 0 29 3 2012 nil -1 nil))) (should (equal (org-parse-time-string "<2012-03-29>" t) - '(0 nil nil 29 3 2012 nil nil nil)))) + '(0 nil nil 29 3 2012 nil -1 nil)))) (ert-deftest test-org/closest-date () "Test `org-closest-date' specifications." -- 2.25.1