Fix tests

This commit is contained in:
Marco Hinz 2016-03-24 13:00:48 +01:00
parent 8512fa3b1c
commit b785352100
2 changed files with 8 additions and 9 deletions

View file

@ -1,5 +1,4 @@
[![Build Status](https://travis-ci.org/mhinz/vim-startify.svg?branch=master)](https://travis-ci.org/mhinz/vim-startify)
[![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mhinz/vim-startify/master/LICENSE)
![vim-startify](https://raw.githubusercontent.com/mhinz/vim-startify/master/pictures/startify-logo.png)

View file

@ -3,22 +3,22 @@ Before:
doautocmd CursorMoved
Execute (Between brackets -> StartifyNumber):
AssertEqual SyntaxAt(), 'StartifyNumber'
AssertEqual 'StartifyNumber', SyntaxAt()
Execute (Brackets -> StartifyBracket):
AssertEqual SyntaxAt(3), 'StartifyBracket'
AssertEqual 'StartifyBracket', SyntaxAt(3)
Execute (First entry -> StartifySpecial):
AssertEqual SyntaxAt(9), 'StartifySpecial'
AssertEqual 'StartifySpecial', SyntaxAt(9)
Execute (Section header -> StartifySection):
normal! 2j
AssertEqual SyntaxAt(9), 'StartifySection'
AssertEqual 'StartifySection', SyntaxAt(4)
Execute (Second entry (separator) -> StartifySlash):
normal! 4j
AssertEqual SyntaxAt(9), 'StartifySlash'
AssertEqual 'StartifySlash', SyntaxAt(9)
Execute (Second entry (path) -> StartifyFile):
normal! 4j
AssertEqual SyntaxAt(10), 'StartifyFile'
Execute (Third entry (session) -> StartifyFile):
normal! 8j
AssertEqual 'StartifyFile', SyntaxAt(9)