From e8e4af9ea3951b6d460e3a29d5a98377947c3450 Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Sat, 7 Oct 2017 19:05:49 +0300 Subject: [PATCH] Temporarily remove invalid value test in string_to_time As mentioned in #368 testing for invalid values with the current implementation would result in misleading error messages being printed to stdout. These tests should be disabled until a solution is found. --- test/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils.c b/test/utils.c index 64b9231..d0b5f4b 100644 --- a/test/utils.c +++ b/test/utils.c @@ -160,8 +160,8 @@ TEST test_string_to_path(void) TEST test_string_to_time(void) { - char *input[] = { "5000 ms", "5000ms", "100", "10s", "2m", "11h", "9d", "d9", " 5 ms ", NULL }; - gint64 exp[] = { 5000, 5000, 100000, 10000, 120000, 39600000, 777600000, 0, 5, }; + char *input[] = { "5000 ms", "5000ms", "100", "10s", "2m", "11h", "9d", " 5 ms ", NULL }; + gint64 exp[] = { 5000, 5000, 100000, 10000, 120000, 39600000, 777600000, 5, 0}; int i = 0; while (input[i]){