From 06982e45f3ee1f87f452d7f209d4c4c959b508df Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Fri, 3 Feb 2023 22:02:32 +0100 Subject: Move main.c in test directory --- main.c | 15 --------------- test/main.c | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 main.c create mode 100644 test/main.c diff --git a/main.c b/main.c deleted file mode 100644 index d8be980..0000000 --- a/main.c +++ /dev/null @@ -1,15 +0,0 @@ -/* See LICENSE file for copyright and license details. */ - -#include "log.h" - -int -main(int argc, char **argv) -{ - Log *log = log_create(__FILE__); - log_debug(log, "debug log"); - log_info(log, "info log"); - log_warn(log, "warning log"); - log_error(log, "error log"); - - return 0; -} diff --git a/test/main.c b/test/main.c new file mode 100644 index 0000000..d8be980 --- /dev/null +++ b/test/main.c @@ -0,0 +1,15 @@ +/* See LICENSE file for copyright and license details. */ + +#include "log.h" + +int +main(int argc, char **argv) +{ + Log *log = log_create(__FILE__); + log_debug(log, "debug log"); + log_info(log, "info log"); + log_warn(log, "warning log"); + log_error(log, "error log"); + + return 0; +} -- cgit v1.2.3