mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
tests: Fix misquoted g:vimwiki_list setting
vimrunner.Client.command doesn't do any escaping so we can only use double quotes. Otherwise it does this: self.server.remote_expr(["VimrunnerPyEvaluateCommandOutput('let g:vimwiki_list = [{'syntax': 'mediawiki', 'ext': '.txt','path': '/tmp/tmpl1hh2nnf'}]')"]) E449: Invalid expression received: Send expression failed.
This commit is contained in:
parent
6609c541eb
commit
c8c3cc9a00
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class IntegrationTest(object):
|
|||
def configure_global_variables(self):
|
||||
self.command('let g:taskwiki_data_location="{0}"'.format(self.dir))
|
||||
self.command('let g:taskwiki_taskrc_location="{0}"'.format(self.taskrc_path))
|
||||
self.command("let g:vimwiki_list = [{'syntax': 'mediawiki', 'ext': '.txt','path': '%s'}]" % self.dir)
|
||||
self.command('let g:vimwiki_list = [{"syntax": "mediawiki", "ext": ".txt","path": "%s"}]' % self.dir)
|
||||
self.command('let g:taskwiki_measure_coverage="yes"')
|
||||
self.command('let g:taskwiki_markup_syntax="{0}"'.format(self.markup))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue