tests: use bats pretty formatter

This commit is contained in:
Tobias Happ 2021-12-12 17:06:28 +01:00
parent 9f5f608d2b
commit 9477418fe6

View file

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#! nix-shell -i bash -p bats #! nix-shell -i bash -p bats ncurses
# Copyright (c) 2019-2021, see AUTHORS. Licensed under MIT License, see LICENSE. # Copyright (c) 2019-2021, see AUTHORS. Licensed under MIT License, see LICENSE.
@ -26,7 +26,7 @@ if [[ ! -d ~/.config.bak ]]; then
cp -r ~/.config.bak ~/.config cp -r ~/.config.bak ~/.config
fi fi
bats "${SCRIPT_DIR}" --verbose-run --timing bats "${SCRIPT_DIR}" --verbose-run --timing --pretty
rm -rf ~/.config rm -rf ~/.config
mv ~/.config.bak ~/.config mv ~/.config.bak ~/.config