summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.c b/main.c
index 09c2d4a..be6fc76 100644
--- a/main.c
+++ b/main.c
@@ -1,8 +1,15 @@
+#include <string.h>
#include "test.h"
int main(int argc, char *argv[])
{
+ if (argc == 2) {
+ if (!strcmp(argv[1], "assert")) {
+ test_assert();
+ }
+ }
+
test_ctype();
- test_assert();
+ test_locale();
return 0;
}