1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:40:03 +08:00

Fix theme test

This commit is contained in:
Shidong Wang 2019-05-25 13:38:37 +08:00
parent 7314ac6ed5
commit 66338440f0

View File

@ -2,6 +2,6 @@ Execute ( SpaceVim statusline theme ):
let g:_spacevim_built_in_themes = map(split(globpath('.', 'autoload/SpaceVim/mapping/guide/theme/*.vim'), "\n"), 'fnamemodify(v:val, ":t:r")')
for theme in g:_spacevim_built_in_themes
Log 'testing theme: ' . theme
AssertEqual len(call('SpaceVim#mapping#guide#theme#' . theme . '#palette', [])), 9
AssertEqual len(call('SpaceVim#mapping#guide#theme#' . theme . '#palette', [])), 10
endfor