From 0806b6738f11a56eeaeb4122b46ea24af865c8d1 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Fri, 13 Sep 2024 13:07:49 -0400 Subject: [PATCH] Add test for time constants of the form '12:34' --- tests/test.cmp | 2 +- tests/test.rem | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.cmp b/tests/test.cmp index 1293838d..806647bb 100644 --- a/tests/test.cmp +++ b/tests/test.cmp @@ -1334,7 +1334,7 @@ trigduration() => -1 # Test adding TIME+TIME and DATETIME+TIME set a126 11:00 + 3:00 11:00 + 03:00 => 14:00 -set a127 23:00 + 5:30 +set a127 '23:00' + 5:30 23:00 + 05:30 => 04:30 set a128 '2018-02-03@10:00' + 6:45 2018-02-03@10:00 + 06:45 => 2018-02-03@16:45 diff --git a/tests/test.rem b/tests/test.rem index 8266360a..499e74be 100644 --- a/tests/test.rem +++ b/tests/test.rem @@ -450,7 +450,7 @@ set a125 trigduration() # Test adding TIME+TIME and DATETIME+TIME set a126 11:00 + 3:00 -set a127 23:00 + 5:30 +set a127 '23:00' + 5:30 set a128 '2018-02-03@10:00' + 6:45 set a129 23:30 + '2019-02-02@16:44'