Fix up vint errors

This commit is contained in:
Ben Jackson 2020-05-18 19:24:34 +01:00
commit 5f11fe4e6e
4 changed files with 10 additions and 5 deletions

View file

@ -458,7 +458,7 @@ function! s:CheckQuickFixEntries( entries )
let i = 0
for entry in a:entries
if i >= len( qf )
call assert_report( "Expected more quickfix entries" )
call assert_report( 'Expected more quickfix entries' )
endif
for key in keys( entry )
call assert_equal( entry[ key ],

View file

@ -46,13 +46,16 @@ call ch_logfile( 'debuglog', 'w' )
" For consistency run all tests with 'nocompatible' set.
" This also enables use of line continuation.
" vint: Workaround for https://github.com/Vimjas/vint/issues/363
" vint: -ProhibitSetNoCompatible
set nocompatible
" vint: +ProhibitSetNoCompatible
" Use utf-8 by default, instead of whatever the system default happens to be.
" Individual tests can overrule this at the top of the file.
" vint: -ProhibitEncodingOptionAfterScriptEncoding
set encoding=utf-8
" vint: +ProhibitEncodingOptionAfterScriptEncoding
" Avoid stopping at the "hit enter" prompt
set nomore