From 091122350c5f7d6d8ab3e17f820c3006e849da12 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 20 May 2016 14:47:34 -0500 Subject: [PATCH] Tests: Added 'w' dateformat test --- test/iso8601d.t.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/iso8601d.t.cpp b/test/iso8601d.t.cpp index 938532335..431b570ca 100644 --- a/test/iso8601d.t.cpp +++ b/test/iso8601d.t.cpp @@ -72,9 +72,9 @@ void testParse ( int main (int, char**) { #ifdef PRODUCT_TASKWARRIOR - UnitTest t (1025); + UnitTest t (1026); #else - UnitTest t (996); + UnitTest t (997); #endif ISO8601d iso; @@ -657,6 +657,7 @@ int main (int, char**) t.is (r32.toString ("v"), "44", "2015-10-28T12:55:00 -> v -> 44"); t.is (r32.toString ("J"), "301", "2015-10-28T12:55:00 -> J -> 301"); t.is (r32.toString ("j"), "301", "2015-10-28T12:55:00 -> j -> 301"); + t.is (r32.toString ("w"), "3", "2015-10-28T12:55:00 -> w -> 3"); // Test all parse options. ISO8601d r33 ("2015 10 28 19 28 01", "Y M D H N S");