Update editorconfig-vim.
This commit is contained in:
parent
f219991e20
commit
82a7b47473
12 changed files with 13 additions and 1 deletions
0
sources_non_forked/editorconfig-vim/LICENSE.PSF
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/LICENSE.PSF
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/mkzip.sh
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/mkzip.sh
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/ecvbslib.vbs
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/ecvbslib.vbs
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/ecvimlib.ps1
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/ecvimlib.ps1
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/editorconfig
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/editorconfig
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/editorconfig.bat
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/editorconfig.bat
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/editorconfig1.vbs
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/editorconfig1.vbs
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/editorconfig2.ps1
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/core/editorconfig2.ps1
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/fetch-vim.bat
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/fetch-vim.bat
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/fetch-vim.sh
Normal file → Executable file
0
sources_non_forked/editorconfig-vim/tests/fetch-vim.sh
Normal file → Executable file
|
@ -18,7 +18,8 @@ def test_editorconfig(vim, file_name, expected_values)
|
|||
vim.edit(File.join(BASE_PATH, file_name))
|
||||
|
||||
expected_values.each do |key, val|
|
||||
expect(vim.echo("&l:#{key}")).to eq(val)
|
||||
vimval = vim.echo("&l:#{key}")
|
||||
expect(vimval).to eq(val), "key #{key} had value #{vimval}, but I expected #{val}"
|
||||
end
|
||||
|
||||
vim.command 'bd!'
|
||||
|
|
11
sources_non_forked/editorconfig-vim/tests/travis-test.sh
Normal file → Executable file
11
sources_non_forked/editorconfig-vim/tests/travis-test.sh
Normal file → Executable file
|
@ -11,6 +11,17 @@ if [[ ( ! "${TEST_WHICH:-}" ) && "${1:-}" ]]; then
|
|||
export TEST_WHICH="$1"
|
||||
fi
|
||||
|
||||
if [[ ! "${TEST_WHICH:-}" ]]; then
|
||||
cat <<EOT
|
||||
Usage: $0 \$WHICH
|
||||
or: TEST_WHICH=\$WHICH $0
|
||||
Run automated tests of editorconfig-vim
|
||||
|
||||
\$WHICH can be "core" or "plugin".
|
||||
EOT
|
||||
exit 2
|
||||
fi
|
||||
|
||||
if [[ "$TEST_WHICH" = 'plugin' ]]; then # test plugin
|
||||
|
||||
# If not running from Travis, do what Travis would have
|
||||
|
|
Loading…
Reference in a new issue