diff options
author | EuAndreh <eu@euandre.org> | 2024-04-05 16:07:39 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-04-05 17:08:08 -0300 |
commit | ea60b1b08015060a08b1ead38e4e81c44a88017f (patch) | |
tree | 9be302cafc856410383e1b1ab315f8b1a371153d /src/i18n.c | |
parent | git mv meta.capim meta.weave (diff) | |
download | pindaiba-ea60b1b08015060a08b1ead38e4e81c44a88017f.tar.gz pindaiba-ea60b1b08015060a08b1ead38e4e81c44a88017f.tar.xz |
Move unit tests out of src/*.c into tests/
Diffstat (limited to 'src/i18n.c')
-rw-r--r-- | src/i18n.c | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -47,29 +47,3 @@ MSGS[] = { [MSG_ERR_VECTOR_OUT_OF_BOUNDS]= "idx (%ld) is beyond bounds (%ld)\n", NULL }; - - - -#ifdef TEST -#include <stdlib.h> - -#include "logerr.h" -#include "catalog.h" - - -int -main(void) { - int rc = 0; - - if (getenv("DUMP_TRANSLATABLE_STRINGS")) { - if (dump_translatable_strings(MSGS)) { - logerr("dump_translatable_strings(MSGS)\n"); - rc = -1; - goto out; - } - } - -out: - return !!rc; -} -#endif |