solorice/nvim/plugged/vim-devicons/test/fileformat.vim
2022-04-27 11:41:37 +03:00

22 lines
595 B
VimL

scriptencoding utf-8
" Please use nerd-font if you watch icon-font
let s:suite = themis#suite('WebDevIconsGetFileFormatSymbol')
let s:assert = themis#helper('assert')
" It may return Ubuntu because github-actions's OS is Ubuntu
function! s:suite.DefaultIcon()
call s:assert.equals(WebDevIconsGetFileFormatSymbol(), '')
endfunction
function! s:suite.WindowsIcon()
set fileformat=dos
call s:assert.equals(WebDevIconsGetFileFormatSymbol(), '')
endfunction
function! s:suite.MacIcon()
set fileformat=mac
call s:assert.equals(WebDevIconsGetFileFormatSymbol(), '')
endfunction