diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-01-07 16:12:19 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-01-07 16:12:19 -0500 |
commit | 98e9e8bfd346787b8508f4e02b8b1e28564108af (patch) | |
tree | dc8a7c734788ac4ada3738c3287ad474401f8965 /test_json.c | |
parent | 2dcb15d10f9a004c88ddaf5172158eedd9cc3438 (diff) | |
download | gpsd-98e9e8bfd346787b8508f4e02b8b1e28564108af.tar.gz |
Fix range check on test_json regression testing
We were missing the last test case every time
Diffstat (limited to 'test_json.c')
-rw-r--r-- | test_json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_json.c b/test_json.c index 0e3352c3..7982f933 100644 --- a/test_json.c +++ b/test_json.c @@ -428,7 +428,7 @@ int main(int argc UNUSED, char *argv[]UNUSED) jsontest(individual); else { int i; - for (i = 1; i < MAXTEST; i++) + for (i = 1; i <= MAXTEST; i++) jsontest(i); } |