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.
This commit is contained in:
parent
fe2a3b5049
commit
e8e4af9ea3
@ -160,8 +160,8 @@ TEST test_string_to_path(void)
|
|||||||
|
|
||||||
TEST test_string_to_time(void)
|
TEST test_string_to_time(void)
|
||||||
{
|
{
|
||||||
char *input[] = { "5000 ms", "5000ms", "100", "10s", "2m", "11h", "9d", "d9", " 5 ms ", NULL };
|
char *input[] = { "5000 ms", "5000ms", "100", "10s", "2m", "11h", "9d", " 5 ms ", NULL };
|
||||||
gint64 exp[] = { 5000, 5000, 100000, 10000, 120000, 39600000, 777600000, 0, 5, };
|
gint64 exp[] = { 5000, 5000, 100000, 10000, 120000, 39600000, 777600000, 5, 0};
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (input[i]){
|
while (input[i]){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user