tests/run-tests.sh @ 0d92eaf03c6a

Fix window positions.

Graph and diff windows were swapped if user set `splitbelow` to 1:

    :set splitbelow    :set nosplitbelow

       +---+---+           +---+---+
       | D |   |           | G |   |
       +---+ S |           +---+ S |
       | G |   |           | D |   |
       +---+---+           +---+---+

     D - diff,  G - graph,  S - source

This commit fixes this -- now diff is displayed below graph regardless of
`splitbelow` setting.
author Maciej Konieczny <hello@narf.pl>
date Sun, 22 May 2011 21:54:55 +0200
parents dbd4f2ec3861
children (none)
#!/usr/bin/env bash

set -e

if [[ $# -eq 0 ]]
then
    TESTS="`ls *.vim | tr "\n" ' '`"
else
    IFS=' '
    TESTS="$*"
fi

vim -u vimrc_test -c ":UTRun $TESTS"