From 8c34d466879560f37ff73098c6407c28dec66906 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 15 Jun 2014 23:10:47 -0400 Subject: [PATCH] Unit Tests - Corrected unit tests that assume 'sod' and 'eod' are the same day. --- test/dates.t.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dates.t.cpp b/test/dates.t.cpp index a8275cd22..b9a9ab5d9 100644 --- a/test/dates.t.cpp +++ b/test/dates.t.cpp @@ -145,8 +145,8 @@ int main (int argc, char** argv) Variant var_false; testInit (t, "false", var_false); t.ok (now >= today, "now >= today"); - t.ok (sod == today, "sod == today"); - t.ok (sod < eod, "sod < eod"); + t.ok (sod == tomorrow, "sod == tomorrow"); + t.ok (sod > eod, "sod > eod"); t.ok (yesterday < today, "yesterday < today"); t.ok (today < tomorrow, "today < tomorrow"); t.ok (socm < eocm, "socm < eocm");