Browse Source

AppVeyor: Try to find segfault in debug build (not reproducible in local debugger) (4/?)

bel2125 7 years ago
parent
commit
fe33eb14ab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/private.c

+ 2 - 2
test/private.c

@@ -505,12 +505,12 @@ START_TEST(test_mg_vsnprintf)
 	mg_snprintf(NULL, &is_trunc, buf, 10, "%9i", 123);
 	ck_assert_str_eq(buf, "      123");
 	ck_assert_int_eq(is_trunc, 0);
-
+/*
 	is_trunc = 777;
 	mg_snprintf(NULL, &is_trunc, buf, 9, "%9i", 123);
 	ck_assert_str_eq(buf, "      12");
 	ck_assert_int_eq(is_trunc, 1);
-/*
+
 	is_trunc = 777;
 	mg_snprintf(NULL, &is_trunc, buf, 8, "%9i", 123);
 	ck_assert_str_eq(buf, "      1");