Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 3, 2024
1 parent 3bf60ac commit 98c9a2d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions functions/test_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,11 @@ test_invalid_removal() {
# EXPECTED OUTPUT
printf "invalid-test.xn--903fds\n" >> out_raw.txt
{
printf "invalid,invalid-test-com\n"
printf "invalid,100.100.100.100\n"
printf "invalid,invalid-test.x\n"
printf "invalid,invalid-test.100\n"
printf "invalid,invalid-test.1x\n"
printf "invalid,invalid-test-com,scamadviser.com\n"
printf "invalid,100.100.100.100,scamadviser.com\n"
printf "invalid,invalid-test.x,scamadviser.com\n"
printf "invalid,invalid-test.100,scamadviser.com\n"
printf "invalid,invalid-test.1x,scamadviser.com\n"
} >> out_log.txt

# The validate script does not save invalid domains to manual review file
Expand Down Expand Up @@ -468,7 +468,7 @@ test_toplist_removal() {
# 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
printf "toplist,microsoft.com,scamadviser.com\n" >> out_log.txt
return
fi

Expand Down

0 comments on commit 98c9a2d

Please sign in to comment.