tests/run-tests.sh @ 1d8370c9bf7f

Send strings to difflib.unified_diff

Python 3.5 adds type-checking to difflib, which causes gundo to fail.
This fixes the issue by converting the arguments to strings.
See https://bugs.python.org/issue17445 for details
author Omar Khan <omar@omarkhan.me>
date Wed, 07 Oct 2015 10:34:15 +0700
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"