Browse Source

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

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

+ 2 - 2
test/private.c

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