Source

nxjson / test.c

Diff from to
 
 static int run_test(int test_number, char* input, const char* expected_output) {
   int input_length=strlen(input);
-  const nx_json* json=nx_json_parse(input);
+  const nx_json* json=nx_json_parse_utf8(input);
   if (!json) {
     if (!expected_output) {
       printf("[%03d] PASSED\n", test_number);