diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testparse.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp index 77788f27d..67a215dbd 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -308,7 +308,7 @@ void TestParse::testParseNewFormat() * Validate the parsing routine returns success. */ - char *params[40]; + char *params[42]; int pnr = 0; params[pnr++] = strdup("timeField"); @@ -337,6 +337,8 @@ void TestParse::testParseNewFormat() params[pnr++] = intdup(headers.indexOf(tr("Sample pressure"))); params[pnr++] = strdup("setpointField"); params[pnr++] = intdup(-1); + params[pnr++] = strdup("numberField"); + params[pnr++] = intdup(-1); params[pnr++] = strdup("separatorIndex"); params[pnr++] = intdup(2); params[pnr++] = strdup("units"); |