From 464d0ec6908a98788924ed2fa306f3de2c69f750 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 15 Jun 2014 23:09:05 -0400 Subject: [PATCH] Unit Tests - Corrected test to expect an ISO date instead of an epoch. --- test/dom.2.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dom.2.t b/test/dom.2.t index 1767b4315..f90918879 100755 --- a/test/dom.2.t +++ b/test/dom.2.t @@ -110,7 +110,7 @@ qx{../src/task rc:$rc 3 annotate note 2>&1}; ok ($? == 0, "$ut: add annotation"); $output = qx{../src/task rc:$rc _get 3.annotations.1.entry 2>&1}; -like ($output, qr/^\d+$/, "$ut: .annotations.1.entry"); +like ($output, qr/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/, "$ut: .annotations.1.entry"); $output = qx{../src/task rc:$rc _get 3.annotations.1.description 2>&1}; like ($output, qr/^note$/, "$ut: .annotations.1.description");