aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/plugged/vim-airline-themes/test
diff options
context:
space:
mode:
authorMarvin Borner2020-03-17 23:00:37 +0100
committerMarvin Borner2020-03-17 23:00:37 +0100
commiteb4fbe62bb1f24a1bae63792b234d1265c205091 (patch)
treea915642e7697ac2d39097592f8b13f247f57b42d /.config/nvim/plugged/vim-airline-themes/test
parent0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (diff)
Wht did I spend my whole day on a awesome vim config? :)
Diffstat (limited to '.config/nvim/plugged/vim-airline-themes/test')
-rw-r--r--.config/nvim/plugged/vim-airline-themes/test/airline-themes.vader38
1 files changed, 0 insertions, 38 deletions
diff --git a/.config/nvim/plugged/vim-airline-themes/test/airline-themes.vader b/.config/nvim/plugged/vim-airline-themes/test/airline-themes.vader
deleted file mode 100644
index ba46da4..0000000
--- a/.config/nvim/plugged/vim-airline-themes/test/airline-themes.vader
+++ /dev/null
@@ -1,38 +0,0 @@
-# Make sure that theme and 5 basic modes don't throw an error
-# Get list of all included themes
-Execute (validate themes):
- let themes = readfile('themes.txt')
- call sort(themes)
-
- let err_proc = v:false
- try
-
- for themePath in themes
-
- " Check all the basic modes and their modified counterparts
- " This test only fails on exceptional cases
- let theme = fnamemodify(themePath, ':t:r')
- Log theme
- execute('AirlineTheme ' . theme)
- execute('source ' . themePath)
- normal i
- normal :
- normal R
- normal v
- setlocal mod
- normal i
- normal :
- normal R
- normal v
- setlocal nomod
-
- endfor
-
- catch
- let err_proc = v:true
- Log "Failed validation testing with exception:"
- Log string(v:exception)
- endtry
- AirlineRefresh
-
- Assert !err_proc