Fix tests
This commit is contained in:
parent
8a957ccd80
commit
1c7bb47d17
|
@ -41,6 +41,7 @@ Execute (#130 Proper cleanup of on-demand loading triggers):
|
||||||
Plug 'junegunn/vim-emoji', { 'on': ['EmojiCommand', 'EmojiCommand2', '<Plug>(EmojiMapping)'] }
|
Plug 'junegunn/vim-emoji', { 'on': ['EmojiCommand', 'EmojiCommand2', '<Plug>(EmojiMapping)'] }
|
||||||
call plug#end()
|
call plug#end()
|
||||||
PlugInstall | q
|
PlugInstall | q
|
||||||
|
call mkdir(g:plugs['vim-emoji'].dir.'/after/plugin', 'p')
|
||||||
|
|
||||||
Assert exists(':EmojiCommand'), 'EmojiCommand not defined'
|
Assert exists(':EmojiCommand'), 'EmojiCommand not defined'
|
||||||
Assert exists(':EmojiCommand2'), 'EmojiCommand2 not defined'
|
Assert exists(':EmojiCommand2'), 'EmojiCommand2 not defined'
|
||||||
|
|
2
test/run
2
test/run
|
@ -87,7 +87,7 @@ DOC
|
||||||
make_dirs z2/ z2
|
make_dirs z2/ z2
|
||||||
|
|
||||||
rm -rf "$PLUG_FIXTURES/ftplugin-msg"
|
rm -rf "$PLUG_FIXTURES/ftplugin-msg"
|
||||||
mkdir -p "$PLUG_FIXTURES/ftplugin-msg/ftplugin"
|
mkdir -p "$PLUG_FIXTURES"/ftplugin-msg/{plugin,ftplugin}
|
||||||
echo "echomsg 'ftplugin-c'" > "$PLUG_FIXTURES/ftplugin-msg/ftplugin/c.vim"
|
echo "echomsg 'ftplugin-c'" > "$PLUG_FIXTURES/ftplugin-msg/ftplugin/c.vim"
|
||||||
echo "echomsg 'ftplugin-java'" > "$PLUG_FIXTURES/ftplugin-msg/ftplugin/java.vim"
|
echo "echomsg 'ftplugin-java'" > "$PLUG_FIXTURES/ftplugin-msg/ftplugin/java.vim"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user