summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-13 11:18:39 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-13 11:18:39 -0500
commit0733f4338ff409727f0a032b0f01268db45ebaf3 (patch)
treef489167e6d592d252b84c015c89c8b8082b9c33c /tests
parent56e35928daaec12c97ccc4707546f669db1d909d (diff)
downloadbfs-0733f4338ff409727f0a032b0f01268db45ebaf3.tar.xz
tests: Fix --verbose=commands with --bfs="wrapper bfs"
Diffstat (limited to 'tests')
-rw-r--r--tests/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 8f0a8fc..c7e819a 100644
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -241,7 +241,7 @@ bfs_verbose() {
bfs_verbose_impl() {
printf "${GRN}%q${RST}" "${BFS[0]}"
if ((${#BFS[@]} > 1)); then
- printf " ${GRN}%q${RST}" "${BFS[1:]}"
+ printf " ${GRN}%q${RST}" "${BFS[@]:1}"
fi
local expr_started=0 color