From c6c1620a32204d52e0d80ebb4368b21cd23f2aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 12 Sep 2003 07:48:39 +0000 Subject: [PATCH] Added/changed some test input strings. Removed an unused variable. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4659 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/kernel/libroot/os/ParseDateTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tests/kernel/libroot/os/ParseDateTest.cpp b/src/tests/kernel/libroot/os/ParseDateTest.cpp index 9fb5383609..d4931d4e1d 100644 --- a/src/tests/kernel/libroot/os/ParseDateTest.cpp +++ b/src/tests/kernel/libroot/os/ParseDateTest.cpp @@ -55,12 +55,15 @@ main(int argc, char **argv) "", "next monday 3:00", "thursday 4:42", + "thursday +4:42", "this thursday 4:42", "42 minutes", + "2 weeks", "next 5 minutes", "last 15 minutes", "-15 minutes", "3:33pm GMT", + "Mon, June 10th, 1993 10:00:03 am GMT", NULL }; @@ -68,7 +71,7 @@ main(int argc, char **argv) time_t now = time(NULL); for (int i = 0; i < 500000; i++) { int flags = 0; - time_t result = parsedate_etc(dates[0], now, &flags); + parsedate_etc(dates[0], now, &flags); } #else // this crashes the R5 version but not ours: