Browse Source

Fixing logger test

Yann Weber 5 years ago
parent
commit
3e9a0cd4d5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/check_logger.c

+ 1
- 1
tests/check_logger.c View File

@@ -377,7 +377,7 @@ START_TEST(test_logger_parse_field_pid)
377 377
 		ck_assert_int_eq(ret, 0);
378 378
 		ck_assert_int_eq(field.type, pyfcgi_logger_field_pid);
379 379
 		ck_assert_int_ne(field.known_length, 0);
380
-		ck_assert_int_eq(field.len, PYFCGI_LOG_PID_LEN);
380
+		ck_assert_int_eq(field.len, PYFCGI_LOG_PID_LEN-1);
381 381
 		ck_assert_ptr_eq(field.val, (&PyFCGI_conf.context.pid));
382 382
 		val++;
383 383
 	}

Loading…
Cancel
Save