diff --git a/.travis.yml b/.travis.yml index 39040f8..39dd445 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ env: - ZSH=4.3.12 - ZSH=4.3.11 -script: docker run -v $PWD:/work -w /work zshusers/zsh:${ZSH} /bin/sh -c 'install_packages make procps && make test' +script: docker run -v $PWD:/work -w /work zshusers/zsh:${ZSH} /bin/sh -c 'install_packages make procps bsdmainutils && make test' notifications: webhooks: diff --git a/tests/test-highlighting.zsh b/tests/test-highlighting.zsh index e03287f..d12b44c 100755 --- a/tests/test-highlighting.zsh +++ b/tests/test-highlighting.zsh @@ -230,7 +230,10 @@ run_test_internal() { if (( difference > 0 )); then left_column+=( ${(r:2*difference::. :):-} ) fi - print -rC2 -- "${left_column[@]}" "${right_column[@]}" \ + paste \ + =(print -rC1 -- $left_column) \ + =(print -rC1 -- $right_column) \ + | if type column >/dev/null; then column -t -s $'\t'; else cat; fi \ | sed 's/^/# /' } fi