diff --git a/test/test_logging.c b/test/test_logging.c index 76d1919..142f565 100644 --- a/test/test_logging.c +++ b/test/test_logging.c @@ -50,6 +50,7 @@ START_TEST (test_logfile_location) dest = uc_log_new_file(FILE_NAME, UC_LL_DEBUG, 1); fail_if(dest == NULL); uc_log_add_destination(dest); + uc_log_add_destination(dest); //adding this twice should do nothing UC_LOGF(UC_LL_DEBUG, 0, "Lorum ipson %d\n", 1); UC_LOGF(UC_LL_DEBUG, 0, "Lorum ipson 2\n");