Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 1, 2024
1 parent 6f45fca commit 611d2c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions/test_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ TEST_BUILD() {
# $1: syntax to check for
# $2: name and directory of format
check_list() {

cat "lists/${2}/scams.txt"

# Check regular version
if ! grep -qxF "$1" "lists/${2}/scams.txt"; then
printf "\e[1m[warn] %s format is not as expected:\e[0m\n" "$2"
Expand Down

0 comments on commit 611d2c9

Please sign in to comment.