mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-03-18 08:09:40 +00:00
Initial commit
This commit is contained in:
21
nvim/plugged/vim-devicons/test/fileformat.vim
Normal file
21
nvim/plugged/vim-devicons/test/fileformat.vim
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user