flake-modules/dev: format launch-test.sh

This commit is contained in:
Gaetan Lepage 2024-07-22 23:09:18 +02:00 committed by Gaétan Lepage
parent 9317537848
commit 901e8760d0

View file

@ -64,12 +64,12 @@ run_tests() {
fi fi
} }
if [[ $interactive = true && ${#specified_tests[@]} -ne 0 ]]; then if [[ $interactive == true && ${#specified_tests[@]} -ne 0 ]]; then
echo "Can't use --interactive with tests on the command line" >&2 echo "Can't use --interactive with tests on the command line" >&2
exit 1 exit 1
fi fi
if [[ $interactive = true ]]; then if [[ $interactive == true ]]; then
test_name=$(mk_test_list | fzf) || exit $? test_name=$(mk_test_list | fzf) || exit $?
specified_tests+=("$test_name") specified_tests+=("$test_name")
fi fi