build: re-enable namespace-specific tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <fx/term/tty.h>
|
||||
#include <fx/string.h>
|
||||
#include <fx/term/print.h>
|
||||
#include <fx/ds/string.h>
|
||||
#include <fx/term/tty.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define F_GREEN "[green]"
|
||||
@@ -62,7 +62,7 @@ int main(void)
|
||||
size_t len = fx_string_get_size(str, FX_STRLEN_IGNORE_MOD);
|
||||
printf("length = %zu\n", len);
|
||||
|
||||
fx_paragraph_format format = { 0 };
|
||||
fx_paragraph_format format = {0};
|
||||
format.p_left_margin = 5;
|
||||
format.p_right_margin = 5;
|
||||
format.p_flags = FX_PARAGRAPH_DOUBLE_LINE_BREAK;
|
||||
@@ -72,8 +72,11 @@ int main(void)
|
||||
fx_i("An informational message\n\nWith multiple lines");
|
||||
fx_warn("A warning message\nWith multiple lines");
|
||||
fx_err("An error message\nWith multiple lines");
|
||||
|
||||
fx_printf("[red]formatting ignored: '%s'[reset]\n[dark_grey]dark text[reset]\n", "[blue]wow![reset]");
|
||||
|
||||
fx_printf(
|
||||
"[red]formatting ignored: '%s'[reset]\n[dark_grey]dark "
|
||||
"text[reset]\n",
|
||||
"[blue]wow![reset]");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user