Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git] / tests / unit / test_utils_parse_size_suffix.c
index 27dbf2c9ad6b020e54600327f04c46088cddc297..04f2fffe1ea0cfad74def9db809eec1075e8c74f 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <assert.h>
 #include <string.h>
 #include <stdio.h>
 
@@ -19,7 +18,7 @@ int lttng_opt_verbose = 3;
 int lttng_opt_mi;
 
 struct valid_test_input {
-       char *input;
+       const char *input;
        uint64_t expected_result;
 };
 
@@ -69,7 +68,7 @@ static struct valid_test_input valid_tests_inputs[] = {
 static const int num_valid_tests = sizeof(valid_tests_inputs) / sizeof(valid_tests_inputs[0]);
 
 /* Invalid test cases */
-static char *invalid_tests_inputs[] = {
+static const char *invalid_tests_inputs[] = {
                "",
                " ",
                "-1",
This page took 0.025246 seconds and 4 git commands to generate.