Browse Source

Fixing logger test

Yann Weber 4 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
 		ck_assert_int_eq(ret, 0);
377
 		ck_assert_int_eq(ret, 0);
378
 		ck_assert_int_eq(field.type, pyfcgi_logger_field_pid);
378
 		ck_assert_int_eq(field.type, pyfcgi_logger_field_pid);
379
 		ck_assert_int_ne(field.known_length, 0);
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
 		ck_assert_ptr_eq(field.val, (&PyFCGI_conf.context.pid));
381
 		ck_assert_ptr_eq(field.val, (&PyFCGI_conf.context.pid));
382
 		val++;
382
 		val++;
383
 	}
383
 	}

Loading…
Cancel
Save