From adb8a601adb64b7038182ef26493f38215cada25 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Mon, 23 Oct 2017 22:41:43 +0800 Subject: [PATCH] Add test --- test/mode.vader | 5 +++++ test/mode.vim | 4 ++++ test/syntax.vader | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 test/mode.vader create mode 100644 test/mode.vim create mode 100644 test/syntax.vader diff --git a/test/mode.vader b/test/mode.vader new file mode 100644 index 000000000..83e09ee7d --- /dev/null +++ b/test/mode.vader @@ -0,0 +1,5 @@ +Execute ( SpaceVim mode ): + so mode/basic.vim + AssertEqual g:spacevim_enable_guicolors, 0 + so mode/dark_powered.vim + AssertEqual g:spacevim_enable_debug, 1 diff --git a/test/mode.vim b/test/mode.vim new file mode 100644 index 000000000..970b6ebdb --- /dev/null +++ b/test/mode.vim @@ -0,0 +1,4 @@ +Execute ( SpaceVim syntax file ): + for sfile in globpath(getcwd(), "syntax/*.vim", 0, 1) + exe 'so ' . sfile + endfor diff --git a/test/syntax.vader b/test/syntax.vader new file mode 100644 index 000000000..970b6ebdb --- /dev/null +++ b/test/syntax.vader @@ -0,0 +1,4 @@ +Execute ( SpaceVim syntax file ): + for sfile in globpath(getcwd(), "syntax/*.vim", 0, 1) + exe 'so ' . sfile + endfor