style(check-user): apply autoformat to tests

This commit is contained in:
Michele Sessa 2023-01-11 12:01:36 +00:00 committed by Michele
parent b7197ba49c
commit fd80d337d2
1 changed files with 2 additions and 3 deletions

View File

@ -11,8 +11,8 @@ challenge() {
"
expected="./check-user.sh $@
"
submitted+=$(2>&1 bash "$script_dirS"/student/check-user.sh "$@")
expected+=$(2>&1 bash "$script_dirS"/solutions/check-user.sh "$@")
submitted+=$(bash 2>&1 "$script_dirS"/student/check-user.sh "$@")
expected+=$(bash 2>&1 "$script_dirS"/solutions/check-user.sh "$@")
diff -U 1 <(echo "$submitted") <(echo "$expected")
}
@ -26,4 +26,3 @@ challenge "-e" "unknown_not_found"
challenge
challenge "-i" "root" "too" "many" "args"
challenge "-t" "root"