#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_pretty.h"
#include "nilorea/n_str.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
Go to the source code of this file.
◆ expect_contains()
| void expect_contains |
( |
const char * | label, |
|
|
const N_STR * | out, |
|
|
const char * | needle ) |
|
static |
◆ expect_true()
| void expect_true |
( |
const char * | label, |
|
|
int | cond ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 84 of file ex_pretty.c.
References expect_contains(), expect_true(), failures, free_nstr, LOG_ERR, n_log, n_pretty_js(), n_pretty_json(), n_pretty_json_lenient(), n_pretty_xml(), process_args(), and set_log_level().
◆ process_args()
| void process_args |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
◆ failures