From 2cd1664470657a8de7d3e4d17d3eb5deb80c9114 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 9 Apr 2018 17:21:22 +0200 Subject: [PATCH] Fix tests --- test/feature/buffer.vader | 1 + test/feature/mapping.vader | 1 + test/feature/session.vader | 3 +++ test/run | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/test/feature/buffer.vader b/test/feature/buffer.vader index aa1d7d9..0891ea7 100644 --- a/test/feature/buffer.vader +++ b/test/feature/buffer.vader @@ -1,4 +1,5 @@ Before: + enew! Startify Execute (Check buffer options): diff --git a/test/feature/mapping.vader b/test/feature/mapping.vader index 3d4d2e9..aba6461 100644 --- a/test/feature/mapping.vader +++ b/test/feature/mapping.vader @@ -1,4 +1,5 @@ Before: + enew! Startify Do (Open new buffer in insert "foo"): diff --git a/test/feature/session.vader b/test/feature/session.vader index 61dd69a..88fb531 100644 --- a/test/feature/session.vader +++ b/test/feature/session.vader @@ -1,3 +1,6 @@ +Before: + enew! + Execute (:SSave foo | SClose): edit include/testfile.txt SSave foo diff --git a/test/run b/test/run index f0cfa0e..f39bc33 100755 --- a/test/run +++ b/test/run @@ -20,4 +20,4 @@ fi cp viminfo viminfo.tmp trap "{ rm viminfo.tmp; }" EXIT -HOME=/dev/null vim -XNu vimrc -i viminfo.tmp -c 'Vader! feature/*.vader' +TERM=ansi HOME=/dev/null vim -XNu vimrc -i viminfo.tmp -c 'Vader! feature/*.vader'