From 9c806ad1279c9ff84bb2723652813930d89e0779 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 5 Jul 2020 21:09:27 -0400 Subject: [PATCH] silent? --- test/workflow.vader | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/workflow.vader b/test/workflow.vader index 65de605..4766f14 100644 --- a/test/workflow.vader +++ b/test/workflow.vader @@ -50,7 +50,7 @@ Execute (Test Plug command): ^ Git repo with tag (DEPRECATED. USE TAG OPTION) redir => out - Plug 'foo/bar.vim', '' + silent Plug 'foo/bar.vim', '' redir END Assert out =~ 'Invalid argument for "tag" option of :Plug (expected: string)' Plug 'junegunn/goyo.vim', '1.5.2' @@ -59,7 +59,7 @@ Execute (Test Plug command): AssertEqual '1.5.2', g:plugs['goyo.vim'].tag redir => out - Plug 'foo/bar.vim', {'tag': ''} + silent Plug 'foo/bar.vim', {'tag': ''} redir END Assert out =~ 'Invalid argument for "tag" option of :Plug (expected: string)' Plug 'junegunn/goyo.vim', { 'tag': '1.5.3' } " Using tag option @@ -87,18 +87,18 @@ Execute (Plug command with dictionary option): Log string(g:plugs) for opt in ['branch', 'tag', 'commit', 'rtp', 'dir', 'as'] redir => out - Plug 'foo/bar.vim', {opt: ''} + silent Plug 'foo/bar.vim', {opt: ''} redir END Assert out =~ 'Invalid argument for "'.opt.'" option of :Plug (expected: string)' endfor for opt in ['on', 'for'] redir => out - Plug 'foo/bar.vim', {opt: ''} + silent Plug 'foo/bar.vim', {opt: ''} redir END Assert out =~ 'Invalid argument for "'.opt.'" option of :Plug (expected: string or list)' endfor redir => out - Plug 'foo/bar.vim', {'do': ''} + silent Plug 'foo/bar.vim', {'do': ''} redir END Assert out =~ 'Invalid argument for "do" option of :Plug (expected: string or funcref)' Plug 'junegunn/seoul256.vim', { 'branch': 'no-t_co', 'rtp': '././' }