From mboxrd@z Thu Jan 1 00:00:00 1970 From: hunglun o Subject: test-org-colview.el: Fix an expected result in test-org-colview/columns-summary Date: Tue, 13 Jun 2017 21:36:40 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="001a113f8e3098ba810551d786d4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKlzy-0003ig-GI for emacs-orgmode@gnu.org; Tue, 13 Jun 2017 09:36:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKlzx-0001gd-Gz for emacs-orgmode@gnu.org; Tue, 13 Jun 2017 09:36:46 -0400 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:35370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKlzx-0001eA-AM for emacs-orgmode@gnu.org; Tue, 13 Jun 2017 09:36:45 -0400 Received: by mail-io0-x232.google.com with SMTP id k93so73445027ioi.2 for ; Tue, 13 Jun 2017 06:36:43 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a113f8e3098ba810551d786d4 Content-Type: multipart/alternative; boundary="001a113f8e3098ba7c0551d786d2" --001a113f8e3098ba7c0551d786d2 Content-Type: text/plain; charset="UTF-8" Hi, some tests in test-org-colviews.el fail. If this patch is acceptable, I will send more to fix the other failed test cases. Let me know if I understand the test intent of this failed test case correctly. Below is a summary from my patch: * lisp/test-org-colview.el (test-org-colview/columns-summary): Fix 23rd test case This test sets 2014-03-04 to be current-time and then computes the number of days between current-time and 2012-03-29. 705 days should be expected. However, 705d 1h is given in the test case. Thanks. --001a113f8e3098ba7c0551d786d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
some tests in test-org-colviews.el fail. If this p= atch is acceptable, I will send more to fix the other failed test cases.=C2= =A0

Let me know if I understand the test intent of= this failed test case correctly. Below is a summary from my patch:

* lisp/test-org-colview.el (test-org-colview/columns= -summary): Fix 23rd test case

This test sets 2014-= 03-04 to be current-time and then computes the
number of days bet= ween current-time and 2012-03-29. 705 days should be
expected. Ho= wever, 705d 1h is given in the test case.

Thanks.
--001a113f8e3098ba7c0551d786d2-- --001a113f8e3098ba810551d786d4 Content-Type: application/octet-stream; name="0001-test-org-colview.el-Fix-an-expected-result-in-test-o.patch" Content-Disposition: attachment; filename="0001-test-org-colview.el-Fix-an-expected-result-in-test-o.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j3vlykn30 RnJvbSBlYTU4Nzk2NzU2Zjg0YTdjNzM1ZDA3NTk4ZDc4NWEzNjUyMTBmMzI3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBIdW5nIEx1biA8aHVuZ2x1bi5vQGdtYWlsLmNvbT4KRGF0ZTog VHVlLCAxMyBKdW4gMjAxNyAyMToyMToxNiArMDgwMApTdWJqZWN0OiBbUEFUQ0hdIHRlc3Qtb3Jn LWNvbHZpZXcuZWw6IEZpeCBhbiBleHBlY3RlZCByZXN1bHQgaW4KIHRlc3Qtb3JnLWNvbHZpZXcv Y29sdW1ucy1zdW1tYXJ5CgoqIGxpc3AvdGVzdC1vcmctY29sdmlldy5lbCAodGVzdC1vcmctY29s dmlldy9jb2x1bW5zLXN1bW1hcnkpOiBGaXggMjNyZCB0ZXN0IGNhc2UKClRoaXMgdGVzdCBzZXRz IDIwMTQtMDMtMDQgdG8gYmUgY3VycmVudC10aW1lIGFuZCB0aGVuIGNvbXB1dGUgdGhlCm51bWJl ciBvZiBkYXlzIGJldHdlZW4gY3VycmVudC10aW1lIGFuZCAyMDEyLTAzLTI5LiA3MDUgZGF5cyBz aG91bGQgYmUKZXhwZWN0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