summaryrefslogtreecommitdiff
path: root/src/i18n.c
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-04-05 16:07:39 -0300
committerEuAndreh <eu@euandre.org>2024-04-05 17:08:08 -0300
commitea60b1b08015060a08b1ead38e4e81c44a88017f (patch)
tree9be302cafc856410383e1b1ab315f8b1a371153d /src/i18n.c
parentgit mv meta.capim meta.weave (diff)
downloadpindaiba-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.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/i18n.c b/src/i18n.c
index 0711389..0a9d3be 100644
--- a/src/i18n.c
+++ b/src/i18n.c
@@ -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