test code beautification

This commit is contained in:
2020-05-07 16:48:06 +02:00
committed by Andrew Johnson
parent 4ad98d5b4f
commit 30d8febb0b
+1 -10
View File
@@ -69,7 +69,7 @@ static void changeRange(long start, long stop, long step)
testdbPutFieldOk("wf.INP", DBF_STRING, linkstring);
}
static double buf[] = {1, 2, 3, 4, 5, 6, 7, 8, 0, 0, 2, 4, 6};
static const double buf[] = {1, 2, 3, 4, 5, 6, 7, 8, 0, 0, 2, 4, 6};
static void expectRange(long start, long end)
{
@@ -79,15 +79,6 @@ static void expectRange(long start, long end)
testdbGetArrFieldEqual("wf.VAL", DBF_DOUBLE, n+2, n, buf+start);
}
#if 0
static void expectEmptyArray(void)
{
/* empty arrays are now allowed at the moment */
testDiag("expecting empty array");
testdbGetFieldEqual("wf.NORD", DBF_LONG, 0);
}
#endif
MAIN(linkFilterTest)
{
testPlan(98);