From fe13d7bcdcdead31575fdf96374f8112d1e32684 Mon Sep 17 00:00:00 2001 From: Jarell <91372088+jarelllama@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:02:50 +0800 Subject: [PATCH] Update --- functions/test_functions.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/test_functions.sh b/functions/test_functions.sh index 32bd3f434..926638a49 100644 --- a/functions/test_functions.sh +++ b/functions/test_functions.sh @@ -377,7 +377,7 @@ test_whitelist_blacklist() { # EXPECTED OUTPUT printf "whitelist-blacklisted-test.com\n" >> out_raw.txt printf "whitelist,whitelist-test.com\n" >> out_log.txt - # The check script does not log blacklisted domains + # The validate script does not log blacklisted domains [[ "$script_to_test" == 'validate' ]] && return printf "blacklist,whitelist-blacklisted-test.com\n" >> out_log.txt } @@ -420,7 +420,7 @@ test_invalid_removal() { printf "invalid,invalid-test.1x\n" } >> out_log.txt - # Check script does not save invalid domains to manual review file + # The validate script does not save invalid domains to manual review file [[ "$script_to_test" == 'validate' ]] && return { printf "invalid-test-com\n" @@ -463,6 +463,7 @@ test_toplist_removal() { # INPUT printf "microsoft.com\n" >> data/pending/domains_scamadviser.com.tmp # EXPECTED OUTPUT + # The validate script does not save invalid domains to manual review file printf "microsoft.com\n" >> out_manual_review.txt printf "toplist,microsoft.com\n" >> out_log.txt return