mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
flake-modules/dev: format launch-test.sh
This commit is contained in:
parent
9317537848
commit
901e8760d0
1 changed files with 41 additions and 41 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue