comparison tests.c @ 521:77495c646208

Fix parsing and writing of strings with simple escape sequences in config files.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 26 Dec 2019 13:34:19 +0200
parents 80185b9901ba
children 9acbbfea68a9
comparison
equal deleted inserted replaced
520:8b36f2566cf9 521:77495c646208
370 } 370 }
371 371
372 372
373 static const char *test_strings[] = 373 static const char *test_strings[] =
374 { 374 {
375 "zoo", "foo", "bar", 375 "zoo", "foo", "b\"ar",
376 }; 376 };
377 377
378 static const int ntest_strings = sizeof(test_strings) / sizeof(test_strings[0]); 378 static const int ntest_strings = sizeof(test_strings) / sizeof(test_strings[0]);
379 379
380 380