build: re-enable namespace-specific tests

This commit is contained in:
2026-05-05 21:17:21 +01:00
parent 4b20f8ca0e
commit c29465a97d
27 changed files with 273 additions and 447 deletions
+8 -5
View File
@@ -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;
}