From fd80d337d25f2e52c34eff9679f8f8bf62280d31 Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Wed, 11 Jan 2023 12:01:36 +0000 Subject: [PATCH] style(check-user): apply autoformat to tests --- sh/tests/check-user_test.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sh/tests/check-user_test.sh b/sh/tests/check-user_test.sh index d00340c7..4bdff6a3 100755 --- a/sh/tests/check-user_test.sh +++ b/sh/tests/check-user_test.sh @@ -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" -